diff options
author | Greg Clayton <gclayton@apple.com> | 2014-05-07 20:16:06 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-05-07 20:16:06 +0000 |
commit | 3e32ad65fbafa9ee370aeb8fb898cbf0c61fe1d9 (patch) | |
tree | bf685eb21076bafc54814847cdf7c1ee26b3c9f5 /lldb/scripts/Python | |
parent | bc8a35f093282417c8ba8714fedb6cd5166ba627 (diff) | |
download | bcm5719-llvm-3e32ad65fbafa9ee370aeb8fb898cbf0c61fe1d9.tar.gz bcm5719-llvm-3e32ad65fbafa9ee370aeb8fb898cbf0c61fe1d9.zip |
Allow clients to control the exact path that is used to launch processes by adding new calls to SBLaunchInfo.
The new calls are:
SBFileSpec
SBLaunchInfo::GetExecutableFile ();
void
SBLaunchInfo::SetExecutableFile (SBFileSpec exe_file, bool add_as_first_arg);
<rdar://problem/16833939>
llvm-svn: 208245
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 87d5c5b13b0..1f697bad587 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -32,6 +32,12 @@ public: void SetGroupID (uint32_t gid); + lldb::SBFileSpec + GetExecutableFile (); + + void + SetExecutableFile (lldb::SBFileSpec exe_file, bool add_as_first_arg); + uint32_t GetNumArguments (); |