brintos

brintos / llvm-project-archived public Read only

0
0
Text · 949 B · d4b9520 Raw
40 lines · plain
1// REQUIRES: aarch642// RUN: llvm-mc -filetype=obj -triple=aarch64-linux-gnu %s -o %t.o3// RUN: ld.lld %t.o -o %t4// RUN: llvm-objdump -d --start-address=0x81d1008 --stop-address=0x81d100c --no-show-raw-insn %t | FileCheck %s5// RUN: rm %t.o %t6// Check that the range extension thunks are dumped close to the aarch64 branch7// range of 128 MiB8 .section .text.1, "ax", %progbits9 .balign 0x100010 .globl _start11_start:12 bl high_target13 ret14 15 .section .text.2, "ax", %progbits16 .space 0x200000017 18 .section .text.2, "ax", %progbits19 .space 0x200000020 21 .section .text.3, "ax", %progbits22 .space 0x200000023 24 .section .text.4, "ax", %progbits25 .space 0x2000000 - 0x4000026 27 .section .text.5, "ax", %progbits28 .space 0x4000029 30 .section .text.6, "ax", %progbits31 .balign 0x100032 33 .globl high_target34 .type high_target, %function35high_target:36 ret37 38// CHECK: <__AArch64AbsLongThunk_high_target>:39// CHECK-NEXT: 81d1008:       b       0x8212000 <high_target>40