diff options
author | Zachary Turner <zturner@google.com> | 2014-11-12 19:31:56 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-11-12 19:31:56 +0000 |
commit | a32d2cecba6eacf42e8eb86fb40e75e3078ab353 (patch) | |
tree | 2270af112d02dddbc7ef209f4e4ddb105098a146 /lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp | |
parent | d6a7b63f26ece27e78b05609b2ad56aba43aef8f (diff) | |
download | bcm5719-llvm-a32d2cecba6eacf42e8eb86fb40e75e3078ab353.tar.gz bcm5719-llvm-a32d2cecba6eacf42e8eb86fb40e75e3078ab353.zip |
[ProcessWindows] Improve support for launching processes.
This sends notifications for module load / unload to the process
plugin, and also manages the state more accurately during the
loading sequence.
Similar work by Virgile Bello was referenced during the
implementation of this patch.
Differential Revision: http://reviews.llvm.org/D6224
llvm-svn: 221807
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp b/lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp index 51335ebd181..09bacf05ae9 100644 --- a/lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp +++ b/lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp @@ -25,9 +25,9 @@ LocalDebugDelegate::OnExitProcess(uint32_t exit_code) } void -LocalDebugDelegate::OnDebuggerConnected() +LocalDebugDelegate::OnDebuggerConnected(lldb::addr_t image_base) { - ((ProcessWindows &)*m_process).OnDebuggerConnected(); + ((ProcessWindows &)*m_process).OnDebuggerConnected(image_base); } ExceptionResult @@ -49,15 +49,15 @@ LocalDebugDelegate::OnExitThread(const HostThread &thread) } void -LocalDebugDelegate::OnLoadDll() +LocalDebugDelegate::OnLoadDll(const lldb_private::ModuleSpec &module_spec, lldb::addr_t module_addr) { - ((ProcessWindows &)*m_process).OnLoadDll(); + ((ProcessWindows &)*m_process).OnLoadDll(module_spec, module_addr); } void -LocalDebugDelegate::OnUnloadDll() +LocalDebugDelegate::OnUnloadDll(lldb::addr_t module_addr) { - ((ProcessWindows &)*m_process).OnUnloadDll(); + ((ProcessWindows &)*m_process).OnUnloadDll(module_addr); } void |