llvm-for-llvmta/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_local_branch.s

15 lines
303 B
ArmAsm

# RUN: llvm-mc -triple=arm64-none-linux-gnu -filetype=obj -o %t %s
# RUN: llvm-rtdyld -triple=arm64-none-linux-gnu -verify -check=%s %t
.globl _main
.weak _label1
.section .text.1,"ax"
_label1:
nop
_main:
b _label1
## Branch 1 instruction back from _main
# rtdyld-check: *{4}(_main) = 0x17ffffff