aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorFred Riss <friss@apple.com>2020-03-11 22:09:11 -0700
committerFred Riss <friss@apple.com>2020-03-23 07:58:33 -0700
commitcd7b45057ca9bc72b99a0abc6c9be25e0f72fbcf (patch)
treee3b89a6b3fc420a751131151ae597b12829eff58 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent9228a9efc6c57a932d936ebb214f6ff5bafe79ff (diff)
downloadllvm-cd7b45057ca9bc72b99a0abc6c9be25e0f72fbcf.zip
llvm-cd7b45057ca9bc72b99a0abc6c9be25e0f72fbcf.tar.gz
llvm-cd7b45057ca9bc72b99a0abc6c9be25e0f72fbcf.tar.bz2
[lldb/API] Make Launch(Simple) use args and env from target properties
Summary: When no arguments or environment is provided to SBTarget::LaunchSimple, make it use the values surrently set in the target properties. You can get the current behavior back by passing an empty array instead. It seems like using the target defaults is a much more intuitive behavior for those APIs. It's unllikely that anyone passed NULL/None to this API after having set properties in order to explicitely ignore them. One direct application of this change is within the testsuite. We have plenty of tests calling LaunchSimple and passing None as environment. If you passed --inferior-env to dotest.py to, for example, set (DY)LD_LIBRARY_PATH, it wouldn't be taken into account. Reviewers: jingham, labath, #libc_abi! Subscribers: libcxx-commits, lldb-commits Tags: #lldb, #libc_abi Differential Revision: https://reviews.llvm.org/D76045
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions