aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-03-25 13:39:05 +0100
committerPavel Labath <pavel@labath.sk>2020-04-02 11:52:56 +0200
commit62be83463a3713612bd85cfa45140ef92c130d57 (patch)
tree544907ab11e5c245bb634d5db475c3c4bfb1ba7c /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent8cc6f5beb816bac152cf170daaa611028124d1cd (diff)
downloadllvm-62be83463a3713612bd85cfa45140ef92c130d57.zip
llvm-62be83463a3713612bd85cfa45140ef92c130d57.tar.gz
llvm-62be83463a3713612bd85cfa45140ef92c130d57.tar.bz2
Recommit "[lldb] Fix TestSettings.test_pass_host_env_vars on windows"
This patch was reverted because it introduced a failure in TestHelloWorld.py. The reason for that was running "ls" shell command failed as it was evaluated in an environment with an empty path. This has now been fixed with D77123, which ensures that all shell commands inherit the host environment, so this patch should be safe to recommit. The original commit message was: A defensive check in ProcessLauncherWindows meant that we would never attempt to launch a process with a completely empty environment -- the host environment would be used instead. Instead, I make the function add an extra null wchar_t at the end of an empty environment. The documentation on this is a bit fuzzy, but it seems to be what is needed to make windows accept these kinds of environments. Reviewers: amccarth, friss Differential Revision: https://reviews.llvm.org/D76835
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions