llvm-project/llvm/test/MC/ARM/Windows/invalid-relocation.s
Fangrui Song b7db119ead [MC,ARM] Change a report_fatal_error to reportError
Similar to other "unsupported relocation type" diagnostics, we don't
report the internal fixup name.
2024-07-30 11:56:13 -07:00

13 lines
313 B
ArmAsm

# RUN: not llvm-mc -triple thumbv7-windows -incremental-linker-compatible -filetype obj -o /dev/null 2>&1 %s \
# RUN: | FileCheck %s
.def invalid_relocation
.type 32
.scl 2
.endef
.global invalid_relocation
.thumb_func
adr r0, invalid_relocation+1
# CHECK: 10:2: error: unsupported relocation type