[llvm] Normalize file path to fix problems with different folder separators. (PR #215225)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 02:24:27 PDT 2026


================
@@ -67,7 +67,8 @@ attributes #1 = { nounwind readnone }
 !23 = !DILocation(line: 8, column: 3, scope: !14)
 ; LINES: <main>:
 ; LINES-NEXT: main():
-; LINES-NEXT: SRC_COMPDIR/source-interleave-hexagon.c:6
+;; Show that directory separators are normalized to the preferred character.
+; LINES-NEXT: Inputs[[SEP]]source-interleave-hexagon.c:6
----------------
VladimirMedic wrote:

Actually, not. After my first commit the test on XCOFF failed, so I looked at similar patterns and made the change preventively.

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


More information about the llvm-commits mailing list