diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2019-07-10 03:34:57 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2019-07-10 03:34:57 +0000 |
commit | 19d3f2001de933d1a3261d532eeab5973bc18c69 (patch) | |
tree | bc866cab57b3dfb69768c41a60ff12c9520f31af /source/Plugins/Process/Windows/Common/ProcessWindows.h | |
parent | 1ff11c7410114b25bd022971d1c5fca3f42fa27d (diff) |
Try again to move common functionality from ProcessWindows into ProcessDebugger
This reverts commit ed499a36b67cf46cbf66052cfe374c80a595f1c1 and addresses
a problem causing a Windows build bot to hang.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@365592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Plugins/Process/Windows/Common/ProcessWindows.h')
-rw-r--r-- | source/Plugins/Process/Windows/Common/ProcessWindows.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/source/Plugins/Process/Windows/Common/ProcessWindows.h b/source/Plugins/Process/Windows/Common/ProcessWindows.h index 1b1f173a3..8d5134a49 100644 --- a/source/Plugins/Process/Windows/Common/ProcessWindows.h +++ b/source/Plugins/Process/Windows/Common/ProcessWindows.h @@ -13,17 +13,14 @@ #include "lldb/Utility/Status.h" #include "lldb/lldb-forward.h" -#include "llvm/Support/Mutex.h" - -#include "IDebugDelegate.h" #include "Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h" +#include "ProcessDebugger.h" namespace lldb_private { class HostProcess; -class ProcessWindowsData; -class ProcessWindows : public Process, public IDebugDelegate { +class ProcessWindows : public Process, public ProcessDebugger { public: // Static functions. static lldb::ProcessSP CreateInstance(lldb::TargetSP target_sp, @@ -101,19 +98,7 @@ public: void OnUnloadDll(lldb::addr_t module_addr) override; void OnDebugString(const std::string &string) override; void OnDebuggerError(const Status &error, uint32_t type) override; - -private: - Status WaitForDebuggerConnection(DebuggerThreadSP debugger, - HostProcess &process); - - // These decode the page protection bits. - static bool IsPageReadable(uint32_t protect); - static bool IsPageWritable(uint32_t protect); - static bool IsPageExecutable(uint32_t protect); - - llvm::sys::Mutex m_mutex; - std::unique_ptr<ProcessWindowsData> m_session_data; }; -} +} // namespace lldb_private #endif // liblldb_Plugins_Process_Windows_Common_ProcessWindows_H_ |