| Index: tests_lit/llvm2ice_tests/external_declaration.ll
|
| diff --git a/tests_lit/llvm2ice_tests/external_declaration.ll b/tests_lit/llvm2ice_tests/external_declaration.ll
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf8a8bc7132fb9523df3a1f5cc7948959e883a0e
|
| --- /dev/null
|
| +++ b/tests_lit/llvm2ice_tests/external_declaration.ll
|
| @@ -0,0 +1,13 @@
|
| +; Tests that any symbols with special names have specially treated linkage.
|
| +
|
| +; RUN: %if --need=allow_dump --command %p2i -i %s --filetype=asm \
|
| +; RUN: --args -nonsfi=0 \
|
| +; RUN: | %if --need=allow_dump --command FileCheck %s
|
| +
|
| +; Verify that "__pnacl_pso_root", a specially named symbol, is made global, but
|
| +; other global variables are not.
|
| +@__pnacl_pso_root = constant [4 x i8] c"abcd";
|
| +@__pnacl_pso_not_root = constant [4 x i8] c"efgh";
|
| +
|
| +; CHECK: .globl __pnacl_pso_root
|
| +; CHECK-NOT: .globl __pnacl_pso_not_root
|
|
|