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/IDebugDelegate.h | |
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/IDebugDelegate.h')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/IDebugDelegate.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Windows/IDebugDelegate.h b/lldb/source/Plugins/Process/Windows/IDebugDelegate.h index 3e7b2167cb6..4efe1932919 100644 --- a/lldb/source/Plugins/Process/Windows/IDebugDelegate.h +++ b/lldb/source/Plugins/Process/Windows/IDebugDelegate.h @@ -11,6 +11,8 @@ #define liblldb_Plugins_Process_Windows_IDebugDelegate_H_ #include "ForwardDecl.h" +#include "lldb/lldb-forward.h" +#include "lldb/lldb-types.h" #include <string> namespace lldb_private @@ -30,12 +32,12 @@ class IDebugDelegate virtual ~IDebugDelegate() {} virtual void OnExitProcess(uint32_t exit_code) = 0; - virtual void OnDebuggerConnected() = 0; + virtual void OnDebuggerConnected(lldb::addr_t image_base) = 0; virtual ExceptionResult OnDebugException(bool first_chance, const ExceptionRecord &record) = 0; virtual void OnCreateThread(const HostThread &thread) = 0; virtual void OnExitThread(const HostThread &thread) = 0; - virtual void OnLoadDll() = 0; - virtual void OnUnloadDll() = 0; + virtual void OnLoadDll(const ModuleSpec &module_spec, lldb::addr_t module_addr) = 0; + virtual void OnUnloadDll(lldb::addr_t module_addr) = 0; virtual void OnDebugString(const std::string &string) = 0; virtual void OnDebuggerError(const Error &error, uint32_t type) = 0; }; |