summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-11-12 19:31:56 +0000
committerZachary Turner <zturner@google.com>2014-11-12 19:31:56 +0000
commita32d2cecba6eacf42e8eb86fb40e75e3078ab353 (patch)
tree2270af112d02dddbc7ef209f4e4ddb105098a146 /lldb/source/Plugins/Process/Windows/LocalDebugDelegate.cpp
parentd6a7b63f26ece27e78b05609b2ad56aba43aef8f (diff)
downloadbcm5719-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.cpp12
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
OpenPOWER on IntegriCloud