summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows/Program.inc
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2017-08-21 20:49:44 +0000
committerPirama Arumuga Nainar <pirama@google.com>2017-08-21 20:49:44 +0000
commit3d48bb5fc2eb6316fa16a3f48cdf2c8df3ed217d (patch)
treec61d91123cf28c19eacab253f1cc7dcd3ca08622 /llvm/lib/Support/Windows/Program.inc
parent08a38fe71e607505dd07c66e4fec6c3c4aff99f4 (diff)
downloadbcm5719-llvm-3d48bb5fc2eb6316fa16a3f48cdf2c8df3ed217d.tar.gz
bcm5719-llvm-3d48bb5fc2eb6316fa16a3f48cdf2c8df3ed217d.zip
[Support, Windows] Handle long paths with unix separators
Summary: The function widenPath() for Windows also normalizes long path names by iterating over the path's components and calling append(). The assumption during the iteration that separators are not returned by the iterator doesn't hold because the iterators do return a separator when the path has a drive name. Handle this case by ignoring separators during iteration. Reviewers: rnk Subscribers: danalbert, srhines Differential Revision: https://reviews.llvm.org/D36752 llvm-svn: 311382
Diffstat (limited to 'llvm/lib/Support/Windows/Program.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud