2018-06-27 06:20:04 +08:00
|
|
|
// REQUIRES: aarch64
|
2019-11-24 03:14:45 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64 %S/Inputs/abs.s -o %tabs.o
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
|
2019-07-19 14:33:36 +08:00
|
|
|
// RUN: ld.lld %t.o %tabs.o -o %t
|
|
|
|
// RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
|
2017-11-29 19:15:12 +08:00
|
|
|
|
|
|
|
.text
|
|
|
|
.globl _start
|
|
|
|
_start:
|
|
|
|
b big
|
|
|
|
|
|
|
|
// CHECK: Disassembly of section .text:
|
2019-05-01 18:40:48 +08:00
|
|
|
// CHECK-EMPTY:
|
2020-03-06 06:18:38 +08:00
|
|
|
// CHECK-NEXT: <_start>:
|
2020-04-10 09:46:35 +08:00
|
|
|
// CHECK-NEXT: 210120: b 0x210124
|
2020-03-06 06:18:38 +08:00
|
|
|
// CHECK: <__AArch64AbsLongThunk_big>:
|
2020-04-10 09:46:35 +08:00
|
|
|
// CHECK-NEXT: 210124: ldr x16, 0x21012c
|
2020-01-16 09:44:14 +08:00
|
|
|
// CHECK-NEXT: 210128: br x16
|
2020-03-06 06:18:38 +08:00
|
|
|
// CHECK: <$d>:
|
2020-01-16 09:44:14 +08:00
|
|
|
// CHECK-NEXT: 21012c: 00 00 00 00 .word 0x00000000
|
|
|
|
// CHECK-NEXT: 210130: 10 00 00 00 .word 0x00000010
|