summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-07-18 15:21:54 +0000
committerStella Stamenova <stilis@microsoft.com>2018-07-18 15:21:54 +0000
commit027a9fc2c54482a12d0ff4aae916a6491ee179a1 (patch)
treea4c09a9113747807842fd0268eb0d46373c68517 /llvm/lib/Support/StringRef.cpp
parent5e3a27593bbc1ed7e9ee1343dc68be0219bf269f (diff)
downloadbcm5719-llvm-027a9fc2c54482a12d0ff4aae916a6491ee179a1.tar.gz
bcm5719-llvm-027a9fc2c54482a12d0ff4aae916a6491ee179a1.zip
[windows] Use a well-known path for ComSpec if we fail to retrieve it
Summary: Right now we always try to retrieve ComSpec and if we fail, we give up. This rarely fails, but we can update the logic so that we fail even less frequently. Since there is a well-known path (albeit not always correct), try the path when we failed to retrieve it. Note that on other platforms, we generally just return a well-known path without any checking. Reviewers: asmith, zturner, labath Reviewed By: zturner, labath Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49451 llvm-svn: 337395
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud