[lld] [lld] guard allocateAux: only if idx nonzero (PR #149690)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 08:48:09 PDT 2025


================
@@ -0,0 +1,36 @@
+# REQUIRES: hexagon
+# RUN: rm -rf %t && split-file %s %t && cd %t
+# RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf one.s -o one.o
+# RUN: llvm-mc -filetype=obj -triple=hexagon-unknown-elf two.s -o two.o
+# RUN: ld.lld -shared one.o two.o -o %t.so
----------------
MaskRay wrote:

With split-file and cd, we can use `out.so` instead of `%t.so`

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


More information about the llvm-commits mailing list