[PATCH] D111880: [Support] [Windows] Convert paths to the preferred form

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 09:18:32 PDT 2021


mstorsjo updated this revision to Diff 384135.
mstorsjo added a comment.

Make sure to force paths to backslashes in `widenPath` if they are passed with the absolute long path prefix `\\?\` but with forward slashes, i.e. as `//?/`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111880/new/

https://reviews.llvm.org/D111880

Files:
  llvm/lib/Support/Windows/Path.inc
  llvm/lib/Support/Windows/Process.inc
  llvm/lib/Support/Windows/Program.inc
  llvm/unittests/Support/CommandLineTest.cpp
  llvm/unittests/Support/Path.cpp
  llvm/unittests/Support/ProgramTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111880.384135.patch
Type: text/x-patch
Size: 8860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/8d026599/attachment.bin>


More information about the llvm-commits mailing list