[llvm] [llvm][MC][ARM] Don't autoresolve fixups (PR #76574)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 1 07:04:13 PST 2024
================
@@ -0,0 +1,6 @@
+@ RUN: not llvm-mc -filetype=obj -o /dev/null %s 2>&1 -triple=thumbv7 | FileCheck %s
+@ RUN: not llvm-mc -filetype=obj -o /dev/null %s 2>&1 -triple=thumbebv7 | FileCheck %s
+
+ ldrd r0, r1, foo
+
+@ CHECK: :[[#@LINE-2]]:4: error: unsupported relocation type
----------------
MaskRay wrote:
The CHECK is usually immediately before or after the instruction, so that we can use -1 +1 instead of -N +N
https://github.com/llvm/llvm-project/pull/76574
More information about the llvm-commits
mailing list