diff options
author | Zachary Turner <zturner@google.com> | 2014-11-12 19:31:39 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-11-12 19:31:39 +0000 |
commit | d6a7b63f26ece27e78b05609b2ad56aba43aef8f (patch) | |
tree | 9d71573a2fa121a409392d23aff584d853ce03d5 /lldb/source/Plugins/Process/Windows/ProcessWindows.h | |
parent | b5363110c7a550dccc9d163ae49c2ffd4fc490e2 (diff) | |
download | bcm5719-llvm-d6a7b63f26ece27e78b05609b2ad56aba43aef8f.tar.gz bcm5719-llvm-d6a7b63f26ece27e78b05609b2ad56aba43aef8f.zip |
[ProcessWindows] Simplify the DebugDelegate interface.
Due to a previous multi-threaded design involving message
passing, we used message classes to pass event information
to the delegate. Since the multi-threaded design has gone
away, we simplify this by passing event arguments as direct
function parameters, which is more clear and easier to
understand.
llvm-svn: 221806
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/ProcessWindows.h')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/ProcessWindows.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Process/Windows/ProcessWindows.h b/lldb/source/Plugins/Process/Windows/ProcessWindows.h index 544bb1342ba..7faf3a5d5ff 100644 --- a/lldb/source/Plugins/Process/Windows/ProcessWindows.h +++ b/lldb/source/Plugins/Process/Windows/ProcessWindows.h @@ -115,15 +115,15 @@ public: virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size, lldb_private::Error &error); // IDebugDelegate overrides. - virtual void OnExitProcess(const lldb_private::ProcessMessageExitProcess &message) override; - virtual void OnDebuggerConnected(const lldb_private::ProcessMessageDebuggerConnected &message) override; - virtual ExceptionResult OnDebugException(const lldb_private::ProcessMessageException &message) override; - virtual void OnCreateThread(const lldb_private::ProcessMessageCreateThread &message) override; - virtual void OnExitThread(const lldb_private::ProcessMessageExitThread &message) override; - virtual void OnLoadDll(const lldb_private::ProcessMessageLoadDll &message) override; - virtual void OnUnloadDll(const lldb_private::ProcessMessageUnloadDll &message) override; - virtual void OnDebugString(const lldb_private::ProcessMessageDebugString &message) override; - virtual void OnDebuggerError(const lldb_private::ProcessMessageDebuggerError &message) override; + virtual void OnExitProcess(uint32_t exit_code) override; + virtual void OnDebuggerConnected() override; + virtual ExceptionResult OnDebugException(bool first_chance, const lldb_private::ExceptionRecord &record) override; + virtual void OnCreateThread(const lldb_private::HostThread &thread) override; + virtual void OnExitThread(const lldb_private::HostThread &thread) override; + virtual void OnLoadDll() override; + virtual void OnUnloadDll() override; + virtual void OnDebugString(const std::string &string) override; + virtual void OnDebuggerError(const lldb_private::Error &error, uint32_t type) override; private: std::shared_ptr<lldb_private::ExceptionRecord> m_active_exception; |