[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / AArch64 / classrefs.s
blobd92bbb4a57abeef436a1498dc1879f1fd4915da2
1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs | FileCheck %s
3 ; Test that we produce an external relocation with Lbar. We could also produce
4 ; an internal relocation. We just have to be careful to not use another symbol.
6 // CHECK: Relocations [
7 // CHECK-NEXT: Section __data {
8 // CHECK-NEXT: Relocation {
9 // CHECK-NEXT: Offset: 0x0
10 // CHECK-NEXT: PCRel: 0
11 // CHECK-NEXT: Length: 3
12 // CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)
13 // CHECK-NEXT: Symbol: Lbar
14 // CHECK-NEXT: }
15 // CHECK-NEXT: }
16 // CHECK-NEXT: ]
18 .section __DATA,__objc_classrefs,regular,no_dead_strip
19 Lbar:
21 .section __DATA,__data
22 .quad Lbar