diff options
| author | Jim Ingham <jingham@apple.com> | 2011-09-13 00:29:56 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-09-13 00:29:56 +0000 |
| commit | e37d605e7d3ff1b684962a006000dec601b7a1f6 (patch) | |
| tree | 21b641dcb82cba66b8dbf55caf7ac09661e651d4 /lldb/scripts/Python | |
| parent | d68a727bd04a0e6b8be1894ce01ee1aa93304411 (diff) | |
| download | llvm-e37d605e7d3ff1b684962a006000dec601b7a1f6.zip llvm-e37d605e7d3ff1b684962a006000dec601b7a1f6.tar.gz llvm-e37d605e7d3ff1b684962a006000dec601b7a1f6.tar.bz2 | |
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')
| -rw-r--r-- | lldb/scripts/Python/interface/SBDebugger.i | 2 | ||||
| -rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBDebugger.i b/lldb/scripts/Python/interface/SBDebugger.i index 4339572..b61a447 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 4064620..baa151c 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. |
