• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic | FileCheck %s
2; rdar://9027648
3
4@A = available_externally hidden constant i32 1
5@B = external hidden constant i32
6
7define i32 @t1() {
8  %tmp = load i32, i32* @A
9  store i32 %tmp, i32* @B
10  ret i32 %tmp
11}
12
13; CHECK:      L_A$non_lazy_ptr:
14; CHECK-NEXT: .indirect_symbol _A
15; CHECK-NEXT: .long 0
16; CHECK:      L_B$non_lazy_ptr:
17; CHECK-NEXT: .indirect_symbol _B
18; CHECK-NEXT: .long 0
19