[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / AArch64 / reloc-crash2.s
blob3aa26281bc0261b9783eca379380dc4a718daeea
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.
5 ; CHECK: Relocations [
6 ; CHECK-NEXT: Section __text {
7 ; CHECK-NEXT: Relocation {
8 ; CHECK-NEXT: Offset: 0x0
9 ; CHECK-NEXT: PCRel: 0
10 ; CHECK-NEXT: Length: 2
11 ; CHECK-NEXT: Type: ARM64_RELOC_PAGEOFF12 (4)
12 ; CHECK-NEXT: Symbol: ltmp1
13 ; CHECK-NEXT: }
14 ; CHECK-NEXT: }
15 ; CHECK-NEXT: ]
18 ldr x0, [x8, L_bar@PAGEOFF]
20 .section __foo,__bar,regular,no_dead_strip
21 L_bar:
22 .quad 0