summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SystemInitializerFull.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2016-11-23 16:26:37 +0000
committerAdrian McCarthy <amccarth@google.com>2016-11-23 16:26:37 +0000
commit4ad5def9b0dbd576d133d038181a56d19589ed12 (patch)
tree1f41c4d8cf38871c92cb5de55d473e48943cd393 /lldb/source/API/SystemInitializerFull.cpp
parent5abf14ba5194059184e3a312369d43fd8006d31e (diff)
downloadbcm5719-llvm-4ad5def9b0dbd576d133d038181a56d19589ed12.tar.gz
bcm5719-llvm-4ad5def9b0dbd576d133d038181a56d19589ed12.zip
Refactor LLDB's Windows process plugin (NFC)
The Windows process plugin was broken up into multiple pieces a while back in order to share code between debugging live processes and minidumps (postmortem) debugging. The minidump portion was replaced by a cross-platform solution. This left the plugin split into a formerly "common" base classes and the derived classes for live debugging. This extra layer made the code harder to understand and work with. This patch simplifies these class hierarchies by rolling the live debugging concrete classes up to the base classes. Last week I posted my intent to make this change to lldb-dev, and I didn't hear any objections. This involved moving code and changing references to classes like ProcessWindowsLive to ProcessWindows. It still builds for both 32- and 64-bit, and the tests still pass on 32-bit. (Tests on 64-bit weren't passing before this refactor for unrelated reasons.) llvm-svn: 287770
Diffstat (limited to 'lldb/source/API/SystemInitializerFull.cpp')
-rw-r--r--lldb/source/API/SystemInitializerFull.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index 3a57daf6919..4ebbc55494c 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -108,7 +108,7 @@
#endif
#if defined(_MSC_VER)
-#include "Plugins/Process/Windows/Live/ProcessWindowsLive.h"
+#include "Plugins/Process/Windows/Common/ProcessWindows.h"
#include "lldb/Host/windows/windows.h"
#endif
@@ -333,7 +333,7 @@ void SystemInitializerFull::Initialize() {
OCamlLanguage::Initialize();
#if defined(_MSC_VER)
- ProcessWindowsLive::Initialize();
+ ProcessWindows::Initialize();
#endif
#if defined(__FreeBSD__)
ProcessFreeBSD::Initialize();
OpenPOWER on IntegriCloud