summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
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/source/Core/Debugger.cpp
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/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 3213ba8ade3..5f7504a9e87 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -237,7 +237,8 @@ Debugger::Debugger () :
m_target_list (),
m_platform_list (),
m_listener ("lldb.Debugger"),
- m_source_manager(NULL),
+ m_source_manager(*this),
+ m_source_file_cache(),
m_command_interpreter_ap (new CommandInterpreter (*this, eScriptLanguageDefault, false)),
m_input_reader_stack (),
m_input_reader_data ()
OpenPOWER on IntegriCloud