[lld] [lld] Add infrastructure for handling RISCV vendor-specific relocations. (PR #159987)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 23 08:52:32 PDT 2025


================
@@ -0,0 +1,28 @@
+# RUN: llvm-mc -triple riscv32 -mattr=+experimental-xqcibi,+xandesperf %s -filetype=obj -o %t.o
----------------
jrtc27 wrote:

I’m not convinced this test makes much sense, in theory we should support all these relocations and then you wouldn’t be able to test this. Surely a better test would be to actually implement a vendor relocation?

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


More information about the llvm-commits mailing list