Improve long path name support on Windows.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 13 Nov 2014 00:12:14 +0000 (00:12 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Thu, 13 Nov 2014 00:12:14 +0000 (00:12 +0000)
commit038e20451d144ddb117a0dfe8ff220c8b26f4a7a
tree62650b9379bbc24e047b94297273527d607dc4b2
parent2217648f91a3ec227f249b98c0517a77ec6921d7
Improve long path name support on Windows.

Windows normally limits the length of an absolute path name to 260
characters; directories can have lower limits.  These limits increase
to about 32K if you use absolute paths with the special '\\?\'
prefix. Teach Support\Windows\Path.inc to use that prefix as needed.

TODO: Other parts of Support could also learn to use this prefix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221841 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Windows/Path.inc
unittests/Support/Path.cpp