summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-03-23 21:50:21 +0000
committerIlia K <ki.stfu@gmail.com>2015-03-23 21:50:21 +0000
commit0850871f67c2ba2fcf130f096a23921fb4caffa6 (patch)
treeed6c05e91e63166d0b79826ee7af1d7ac48c8e18 /lldb/scripts/Python/interface
parent5f4d76efd365c7f816c712013a0eb9ecfa8446bb (diff)
downloadbcm5719-llvm-0850871f67c2ba2fcf130f096a23921fb4caffa6.tar.gz
bcm5719-llvm-0850871f67c2ba2fcf130f096a23921fb4caffa6.zip
Fix missing interfaces to scripts/Python/interface after r229110, r231858 and r232891
This includes: # SBCommandInterpreter::EventIsCommandInterpreterEvent # SBModule::GetSymbolFileSpec/GetObjectFileHeaderAddress # SBTarget::EventIsTargetEvent/GetTargetFromEvent/GetNumModulesFromEvent/GetModuleAtIndexFromEvent/GetLaunchInfo/SetLaunchInfo llvm-svn: 233029
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBCommandInterpreter.i5
-rw-r--r--lldb/scripts/Python/interface/SBModule.i6
-rw-r--r--lldb/scripts/Python/interface/SBTarget.i18
3 files changed, 28 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBCommandInterpreter.i b/lldb/scripts/Python/interface/SBCommandInterpreter.i
index 0a795adb038..dfa3ce600bf 100644
--- a/lldb/scripts/Python/interface/SBCommandInterpreter.i
+++ b/lldb/scripts/Python/interface/SBCommandInterpreter.i
@@ -139,7 +139,10 @@ public:
static const char *
GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type);
-
+
+ static bool
+ EventIsCommandInterpreterEvent (const lldb::SBEvent &event);
+
bool
IsValid() const;
diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i
index 387a2741e02..43aab6a6b4c 100644
--- a/lldb/scripts/Python/interface/SBModule.i
+++ b/lldb/scripts/Python/interface/SBModule.i
@@ -309,6 +309,12 @@ public:
GetVersion (uint32_t *versions,
uint32_t num_versions);
+ lldb::SBFileSpec
+ GetSymbolFileSpec() const;
+
+ lldb::SBAddress
+ GetObjectFileHeaderAddress() const;
+
bool
operator == (const lldb::SBModule &rhs) const;
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i
index 162cc6490e6..311b469c78b 100644
--- a/lldb/scripts/Python/interface/SBTarget.i
+++ b/lldb/scripts/Python/interface/SBTarget.i
@@ -81,6 +81,18 @@ public:
bool
IsValid() const;
+ static bool
+ EventIsTargetEvent (const lldb::SBEvent &event);
+
+ static lldb::SBTarget
+ GetTargetFromEvent (const lldb::SBEvent &event);
+
+ static uint32_t
+ GetNumModulesFromEvent (const lldb::SBEvent &event);
+
+ static lldb::SBModule
+ GetModuleAtIndexFromEvent (const uint32_t idx, const lldb::SBEvent &event);
+
lldb::SBProcess
GetProcess ();
@@ -714,6 +726,12 @@ public:
lldb::addr_t
GetStackRedZoneSize();
+ lldb::SBLaunchInfo
+ GetLaunchInfo () const;
+
+ void
+ SetLaunchInfo (const lldb::SBLaunchInfo &launch_info);
+
bool
operator == (const lldb::SBTarget &rhs) const;
OpenPOWER on IntegriCloud