[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / darwin-reloc-addsubimm.s
blob32632abd19d868e5a4b464e5a1e9ec805f058c47
1 // RUN: llvm-mc -triple=aarch64-darwin -filetype=obj %s -o - | \
2 // RUN: llvm-objdump -r -d - | FileCheck -check-prefix=OBJ %s
4 // OBJ-LABEL: Disassembly of section __TEXT,__text:
6 add x2, x3, _data@pageoff
7 // OBJ: [[addr:[0-9a-f]+]]: 62 00 00 91 add x2, x3, #0
8 // OBJ-NEXT: [[addr]]: ARM64_RELOC_PAGEOFF12 _data
10 add x2, x3, #_data@pageoff, lsl #12
11 // OBJ: [[addr:[0-9a-f]+]]: 62 00 40 91 add x2, x3, #0, lsl #12
12 // OBJ-NEXT: [[addr]]: ARM64_RELOC_PAGEOFF12 _data