[llvm] Normalize file path to fix problems with different folder separators. (PR #215225)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 02:04:36 PDT 2026
================
@@ -151,3 +151,36 @@
; LINE-SUBST-PREFIX-NEXT: pushq
; LINE-SUBST-PREFIX: ; [[PREFIX]]{{[/\\]}}Inputs{{[/\\]}}source-interleave-x86_64.c:3
; LINE-SUBST-PREFIX-NEXT: movq
+
+;; Objects built on Windows record source paths with '\' separators, which are
----------------
jh7370 wrote:
I'd add a "may" before "record", since a LLVM_WINDOWS_PREFER_FORWARD_SLASH would presumably result in a forward slash being used in the built file.
https://github.com/llvm/llvm-project/pull/215225
More information about the llvm-commits
mailing list