[lld] [lld][ELF] Only convert dependency filename to native form on Windows (PR #160927)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 19 22:04:52 PDT 2025
================
@@ -0,0 +1,13 @@
+# REQUIRES: x86, !system-windows
+# RUN: mkdir -p %t
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o "%t/back\\slash.o"
+# RUN: ld.lld -o %t/foo.exe "%t/back\\slash.o" --dependency-file=%t/foo.d
+# RUN: FileCheck --match-full-lines -DFILE=%t %s < %t/foo.d
+
+# CHECK: [[FILE]]/foo.exe: \
+# CHECK-NEXT: [[FILE]]/back\slash.o
----------------
MaskRay wrote:
Needs `--match-full-lines --strict-whitespace` to actually test the indentation.
https://github.com/llvm/llvm-project/pull/160927
More information about the llvm-commits
mailing list