[llvm] [llvm][MC][ARM] Don't autoresolve fixups (PR #76574)

Eleanor Bonnici via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 04:25:18 PST 2024


================
@@ -0,0 +1,39 @@
+@ RUN: llvm-mc -filetype=obj -o %t %s -triple=armv7
+@ RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELOC
+@ RUN: llvm-objdump -d --triple=armv7 %t | FileCheck %s --check-prefix=ARM_OFFSET
+
+@ RUN: llvm-mc -filetype=obj -o %t %s -triple=armebv7
----------------
eleanor-arm wrote:

I don't think it hurts. When/if these start failing it might be helpful with debug.  Internally all these 4 go through different logic to resolve the fixup. Arm/Thumb have separate fixup kinds and and BE/LE have different way of assigning FixupKindInfo in `ARMAsmBackend.cpp`.

https://github.com/llvm/llvm-project/pull/76574


More information about the llvm-commits mailing list