Home | History | Annotate | Download | only in llvm2ice_tests
      1 ; Tests that any symbols with special names have specially treated linkage.
      2 
      3 ; RUN: %if --need=allow_dump --command %p2i -i %s --filetype=asm \
      4 ; RUN:   --args -nonsfi=0 \
      5 ; RUN:   | %if --need=allow_dump --command FileCheck %s
      6 
      7 ; Verify that "__pnacl_pso_root", a specially named symbol, is made global, but
      8 ; other global variables are not.
      9 @__pnacl_pso_root = constant [4 x i8] c"abcd";
     10 @__pnacl_pso_not_root = constant [4 x i8] c"efgh";
     11 
     12 ; CHECK: .globl __pnacl_pso_root
     13 ; CHECK-NOT: .globl __pnacl_pso_not_root
     14