summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-09-05 09:07:05 +0000
committerHans Wennborg <hans@hanshq.net>2019-09-05 09:07:05 +0000
commit91a5a2afe464c8b3ff5743ba9a930b79fbe2a765 (patch)
treec98ce5d40c3bf7f171cf03f6eb6d8ba175c6ca4f /lldb/packages/Python/lldbsuite/test/python_api
parent33b1a0eb5e73abeb1a6405f8722664ae2e68c02b (diff)
downloadbcm5719-llvm-91a5a2afe464c8b3ff5743ba9a930b79fbe2a765.tar.gz
bcm5719-llvm-91a5a2afe464c8b3ff5743ba9a930b79fbe2a765.zip
Win: handle \\?\UNC\ prefix in realPathFromHandle (PR43204)
After r361885, realPathFromHandle() ends up getting called on the working directory on each Clang invocation. This unveiled that the code didn't work for paths on network shares. For example, if one maps the local dir c:\src\tmp to x: net use x: \\localhost\c$\tmp and run e.g. "clang -c foo.cc" in x:\, realPathFromHandle will get \\?\UNC\localhost\c$\src\tmp\ back from GetFinalPathNameByHandleW, and would strip off the initial \\?\ prefix, ending up with a path that doesn't work. This patch makes the prefix stripping a little smarter to handle this case. Differential revision: https://reviews.llvm.org/D67166 llvm-svn: 371035
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud