summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBLaunchInfo.cpp
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-02-13 14:31:06 +0000
committerIlia K <ki.stfu@gmail.com>2015-02-13 14:31:06 +0000
commit8f37ca56d6d06b73e5c9efa96bce734230c3ec1f (patch)
tree72578ebdb8c2c54dd3bfd1118c795b3c00d29dd6 /lldb/source/API/SBLaunchInfo.cpp
parent5716bb9faac75b645744cae287a9bf46aeee7700 (diff)
downloadbcm5719-llvm-8f37ca56d6d06b73e5c9efa96bce734230c3ec1f.tar.gz
bcm5719-llvm-8f37ca56d6d06b73e5c9efa96bce734230c3ec1f.zip
Add -exec-arguments command
Summary: This patch adds -exec-arguments command for lldb-mi. -exec-arguments command allows to specify arguments for executable file in MI mode. Also it contains tests for that command. Btw, new added files was formatted by clang-format. Reviewers: abidh, zturner, clayborg Reviewed By: clayborg Subscribers: zturner, emaste, clayborg, jingham, lldb-commits Differential Revision: http://reviews.llvm.org/D6965 llvm-svn: 229110
Diffstat (limited to 'lldb/source/API/SBLaunchInfo.cpp')
-rw-r--r--lldb/source/API/SBLaunchInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/API/SBLaunchInfo.cpp b/lldb/source/API/SBLaunchInfo.cpp
index 007451ee32f..681f5fe0ebf 100644
--- a/lldb/source/API/SBLaunchInfo.cpp
+++ b/lldb/source/API/SBLaunchInfo.cpp
@@ -36,6 +36,12 @@ SBLaunchInfo::ref ()
return *m_opaque_sp;
}
+const lldb_private::ProcessLaunchInfo &
+SBLaunchInfo::ref () const
+{
+ return *m_opaque_sp;
+}
+
lldb::pid_t
SBLaunchInfo::GetProcessID()
{
OpenPOWER on IntegriCloud