Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

15 lines
356 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
invalid_relocation:
adr r0, invalid_relocation+1
# CHECK: LLVM ERROR: unsupported relocation type: fixup_t2_adr_pcrel_12