hanchenye-llvm-project/lldb/source/Host/windows
Stella Stamenova 027a9fc2c5 [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
2018-07-18 15:21:54 +00:00
..
ConnectionGenericFileWindows.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
EditLineWin.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
FileSystem.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:23:48 +00:00
Host.cpp Replace HostInfo::GetLLDBPath with specific functions 2018-06-19 15:09:07 +00:00
HostInfoWindows.cpp [windows] Use a well-known path for ComSpec if we fail to retrieve it 2018-07-18 15:21:54 +00:00
HostProcessWindows.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:23:48 +00:00
HostThreadWindows.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
LockFileWindows.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
PipeWindows.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
ProcessLauncherWindows.cpp [lit] Split test_set_working_dir TestProcessLaunch into two tests and fix it on Windows 2018-06-13 19:02:44 +00:00
ProcessRunLock.cpp
Windows.cpp