summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-09-13 00:29:56 +0000
committerJim Ingham <jingham@apple.com>2011-09-13 00:29:56 +0000
commite37d605e7d3ff1b684962a006000dec601b7a1f6 (patch)
tree21b641dcb82cba66b8dbf55caf7ac09661e651d4 /lldb/scripts/Python/interface
parentd68a727bd04a0e6b8be1894ce01ee1aa93304411 (diff)
downloadbcm5719-llvm-e37d605e7d3ff1b684962a006000dec601b7a1f6.tar.gz
bcm5719-llvm-e37d605e7d3ff1b684962a006000dec601b7a1f6.zip
SBSourceManager now gets the real source manager either from the Debugger or Target. Also, move the SourceManager file cache into the debugger
so it can be shared amongst the targets. llvm-svn: 139564
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBDebugger.i2
-rw-r--r--lldb/scripts/Python/interface/SBTarget.i3
2 files changed, 4 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i
index 4339572a734..b61a447c849 100644
--- a/lldb/scripts/Python/interface/SBDebugger.i
+++ b/lldb/scripts/Python/interface/SBDebugger.i
@@ -206,7 +206,7 @@ public:
lldb::SBTarget
GetSelectedTarget ();
- lldb::SBSourceManager &
+ lldb::SBSourceManager
GetSourceManager ();
// REMOVE: just for a quick fix, need to expose platforms through
diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i
index 40646209be5..baa151c0101 100644
--- a/lldb/scripts/Python/interface/SBTarget.i
+++ b/lldb/scripts/Python/interface/SBTarget.i
@@ -327,6 +327,9 @@ public:
lldb::SBTypeList
FindTypes (const char* type);
+ lldb::SBSourceManager
+ GetSourceManager ();
+
%feature("docstring", "
//------------------------------------------------------------------
/// Find global and static variables by name.
OpenPOWER on IntegriCloud