bolt/deps/llvm-18.1.8/llvm/test/MC/ARM/thumb1-relax-ldrlit.s

8 lines
369 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
@ RUN: not llvm-mc -triple thumbv6m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
@ RUN: not llvm-mc -triple thumbv7m-none-macho -filetype=obj -o /dev/null %s 2>&1 | FileCheck --check-prefix=CHECK-ERROR %s
.global func1
_func1:
@ CHECK-ERROR: :[[#@LINE+1]]:9: error: unsupported relocation type
ldr r0, _func2