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

7 lines
177 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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