1 ; RUN
: llvm-mc
-triple arm64-apple-darwin10
%s
-filetype
=obj
-o
- | llvm-readobj
-r
--expand-relocs | FileCheck
%s
3 ; This is
a regression test making sure we don
't crash.
6 ; CHECK-NEXT: Section __text {
7 ; CHECK-NEXT: Relocation {
8 ; CHECK-NEXT: Offset: 0x0
10 ; CHECK-NEXT: Length: 2
11 ; CHECK-NEXT: Type: ARM64_RELOC_PAGEOFF12 (4)
12 ; CHECK-NEXT: Symbol: ltmp1
18 ldr x0, [x8, L_bar@PAGEOFF]
20 .section __foo,__bar,regular,no_dead_strip