diff options
| author | Andrew MacPherson <andrew.macp@gmail.com> | 2014-03-13 09:37:02 +0000 |
|---|---|---|
| committer | Andrew MacPherson <andrew.macp@gmail.com> | 2014-03-13 09:37:02 +0000 |
| commit | eb4d0607bf5b61edbeab0cadd277bddfa9edb962 (patch) | |
| tree | 919d9ea99fb97685322ed1f1356a3d6a4751180e /lldb/source/Target/Target.cpp | |
| parent | 32956d651a1f1d9d01600a893bdcea74e05ad646 (diff) | |
| download | bcm5719-llvm-eb4d0607bf5b61edbeab0cadd277bddfa9edb962.tar.gz bcm5719-llvm-eb4d0607bf5b61edbeab0cadd277bddfa9edb962.zip | |
Create a Process::ModulesDidLoad() method to handle process-related tasks, as suggested by Jim Ingham. Make JITLoader instances use this to probe only new modules for relevant JIT symbols. Also re-enable the JITLoader hooks in Process.
llvm-svn: 203774
Diffstat (limited to 'lldb/source/Target/Target.cpp')
| -rw-r--r-- | lldb/source/Target/Target.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 62357419b14..d759801ae98 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -1172,11 +1172,7 @@ Target::ModulesDidLoad (ModuleList &module_list) m_breakpoint_list.UpdateBreakpoints (module_list, true, false); if (m_process_sp) { - SystemRuntime *sys_runtime = m_process_sp->GetSystemRuntime(); - if (sys_runtime) - { - sys_runtime->ModulesDidLoad (module_list); - } + m_process_sp->ModulesDidLoad (module_list); } // TODO: make event data that packages up the module_list BroadcastEvent (eBroadcastBitModulesLoaded, NULL); |

