llvm-for-llvmta/test/MC/MachO/AArch64/reloc-errors.s

11 lines
341 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not llvm-mc -triple aarch64-none-macho %s -filetype=obj -o - 2>&1 | FileCheck %s
; CHECK: error: conditional branch requires assembler-local label. 'external' is external.
b.eq external
; CHECK: error: Invalid relocation on conditional branch
tbz w0, #4, external
; CHECK: error: unknown AArch64 fixup kind!
adr x0, external