forked from OSchip/llvm-project
22 lines
707 B
ArmAsm
22 lines
707 B
ArmAsm
// REQUIRES: aarch64
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs.o
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t.o
|
|
// RUN: ld.lld %t.o %tabs.o -o %t
|
|
// RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
|
|
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
b big
|
|
|
|
// CHECK: Disassembly of section .text:
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: _start:
|
|
// CHECK-NEXT: 210000: b #8
|
|
// CHECK: __AArch64AbsLongThunk_big:
|
|
// CHECK-NEXT: 210008: ldr x16, #8
|
|
// CHECK-NEXT: 21000c: br x16
|
|
// CHECK: $d:
|
|
// CHECK-NEXT: 210010: 00 00 00 00 .word 0x00000000
|
|
// CHECK-NEXT: 210014: 10 00 00 00 .word 0x00000010
|