[lit] [windows] Make sure to convert all path separators to backslashes in NT style...
authorMartin Storsjö <martin@martin.st>
Fri, 13 Dec 2019 21:28:19 +0000 (21:28 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Dec 2019 08:08:53 +0000 (10:08 +0200)
commitd39510ec1cda7c7808c1ecadb1364382f92c1af3
tree50dcbba1c4a1c9266b34317f67e886c61c7b1d63
parentee0a3b5c776cac769ae68dce369728eaae286671
[lit] [windows] Make sure to convert all path separators to backslashes in NT style \\?\... paths

E.g. the mingw python distributed in msys2 (the mingw one, which is a
normal win32 application and doesn't use the msys2 runtime itself),
despite being a normal win32 python, still uses forward slashes. This
works fine for other cases (many, but not all), but when constructing a
raw NT path, all path separators must be backslashes.

Differential Revision: https://reviews.llvm.org/D71490
llvm/utils/lit/lit/util.py