[lld] [LLD] Fix crash on parsing ':ALIGN' in linker script (PR #146723)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 18:48:06 PDT 2025


================
@@ -1,7 +1,24 @@
 # REQUIRES: x86
+# RUN: rm -rf %t && split-file %s %t && cd %t
+
 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux /dev/null -o %t.o
----------------
MaskRay wrote:

could change `%t.o` to `a.o` to ensure that all files are within `%t`

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


More information about the llvm-commits mailing list