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:
|
2017-11-29 19:15:12 +08:00
|
|
|
// CHECK-NEXT: _start:
|
2020-01-16 09:44:14 +08:00
|
|
|
// CHECK-NEXT: 210120: b #4
|
2017-11-29 19:15:12 +08:00
|
|
|
// CHECK: __AArch64AbsLongThunk_big:
|
2020-01-16 09:44:14 +08:00
|
|
|
// CHECK-NEXT: 210124: ldr x16, #8
|
|
|
|
// CHECK-NEXT: 210128: br x16
|
2017-11-29 19:15:12 +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
|