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)
commitd9c4a9af7c25a267832a06282296481a511413a0
treeea9ffdff0543126961224b8f0b81e95ce7c3bf24
parent1da9fbc641f712bcfc60229d890734cec69a7790
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.
llvm-svn: 221841
llvm/lib/Support/Windows/Path.inc
llvm/unittests/Support/Path.cpp