[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / arm64-elf-reloc-condbr.s
blob3552ec2895190d15ed750edf448fefe9d10c413d
1 // RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj %s -o - | \
2 // RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
3 // RUN: llvm-mc -target-abi=ilp32 -triple=arm64-none-linux-gnu -filetype=obj \
4 // RUN: %s -o - | \
5 // RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ-ILP32 %s
7 b.eq somewhere
9 // OBJ: Relocations [
10 // OBJ-NEXT: Section {{.*}} .rela.text {
11 // OBJ-NEXT: 0x0 R_AARCH64_CONDBR19 somewhere 0x0
12 // OBJ-NEXT: }
13 // OBJ-NEXT: ]
15 // OBJ-ILP32: Relocations [
16 // OBJ-ILP32-NEXT: Section {{.*}} .rela.text {
17 // OBJ-ILP32-NEXT: 0x0 R_AARCH64_P32_CONDBR19 somewhere 0x0
18 // OBJ-ILP32-NEXT: }
19 // OBJ-ILP32-NEXT: ]