I'll look at this one.

-Kyle

On 3/31/14, 10:38 AM, "Michael Ferguson" <[email protected]> wrote:

>Fix global variable linkage for LLVM
>
>The LLVM backend, like the C backend, has supported compilation-unit local
>functions (ie 'static' for any not-exported proc). This patch adds that
>functionality to global variables, which previously were always code
>generated
>with external linkage.
>
>Verified with CHPL_LLVM=none make check; verified symbols had appropriate
>types
>with 'nm' for --llvm; verified Hello World works with --llvm. Full
>local/LLVM
>testing ongoing.
>
>(Note that currently 'export var x:int' fails with a syntax error;
>  the way I tested exporting a variable was with pragma "export".)


------------------------------------------------------------------------------
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to