Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / aarch64-jump26-thunk.s
blob7fea5eebc366806c54158e7ed73767756fb0887a
1 // REQUIRES: aarch64
2 // RUN: llvm-mc -filetype=obj -triple=aarch64 %S/Inputs/abs.s -o %tabs.o
3 // RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
4 // RUN: ld.lld %t.o %tabs.o -o %t
5 // RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
7 .text
8 .globl _start
9 _start:
10 b big
12 // CHECK: Disassembly of section .text:
13 // CHECK-EMPTY:
14 // CHECK-NEXT: <_start>:
15 // CHECK-NEXT: 210120: b 0x210124
16 // CHECK: <__AArch64AbsLongThunk_big>:
17 // CHECK-NEXT: 210124: ldr x16, 0x21012c
18 // CHECK-NEXT: 210128: br x16
19 // CHECK-NEXT: 21012c: 00 00 00 00 .word 0x00000000
20 // CHECK-NEXT: 210130: 10 00 00 00 .word 0x00000010