[NFC] Include PassID for runBeforePass children.
[llvm-project.git] / llvm / test / MC / AArch64 / elf-reloc-tstb.s
blobb6852b182ec67cb04a364f8c7e1cfaafd1894c46
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ %s
3 // RUN: llvm-mc -triple=aarch64-none-linux-gnu_ilp32 -filetype=obj %s -o - | \
4 // RUN: llvm-readobj -r - | FileCheck -check-prefix=OBJ-ILP32 %s
6 tbz x6, #45, somewhere
7 tbnz w3, #15, somewhere
9 // OBJ: Relocations [
10 // OBJ-NEXT: Section {{.*}} .rela.text {
11 // OBJ-NEXT: 0x0 R_AARCH64_TSTBR14 somewhere 0x0
12 // OBJ-NEXT: 0x4 R_AARCH64_TSTBR14 somewhere 0x0
13 // OBJ-NEXT: }
14 // OBJ-NEXT: ]
16 // OBJ-ILP32: Relocations [
17 // OBJ-ILP32-NEXT: Section {{.*}} .rela.text {
18 // OBJ-ILP32-NEXT: 0x0 R_AARCH64_P32_TSTBR14 somewhere 0x0
19 // OBJ-ILP32-NEXT: 0x4 R_AARCH64_P32_TSTBR14 somewhere 0x0
20 // OBJ-ILP32-NEXT: }
21 // OBJ-ILP32-NEXT: ]