llvm-project/llvm/test/MC/AArch64/macho-adrp-missing-reloc.s

7 lines
177 B
ArmAsm

; RUN: not llvm-mc < %s -triple arm64-apple-darwin -filetype=obj -o - 2>&1 | FileCheck %s
; CHECK: error: ADR/ADRP relocations must be GOT relative
adrp x3, Lbar
Lbar:
ret