[lldb/Plugin] Update ProcessWindows plugin for revert
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Feb 2020 21:53:07 +0000 (13:53 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Feb 2020 21:53:07 +0000 (13:53 -0800)
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp

index 593f3ab..b629e53 100644 (file)
@@ -89,7 +89,7 @@ LLDB_PLUGIN_DECLARE(CPlusPlusLanguage)
 LLDB_PLUGIN_DECLARE(ObjCLanguage)
 LLDB_PLUGIN_DECLARE(ObjCPlusPlusLanguage)
 #if defined(_WIN32)
-LLDB_PLUGIN_DECLARE(ProcessWindowsCommon)
+LLDB_PLUGIN_DECLARE(ProcessWindows)
 #endif
 #if defined(__FreeBSD__)
 LLDB_PLUGIN_DECLARE(ProcessFreeBSD)
@@ -220,7 +220,7 @@ llvm::Error SystemInitializerFull::Initialize() {
   LLDB_PLUGIN_INITIALIZE(ObjCPlusPlusLanguage);
 
 #if defined(_WIN32)
-  LLDB_PLUGIN_INITIALIZE(ProcessWindowsCommon);
+  LLDB_PLUGIN_INITIALIZE(ProcessWindows);
 #endif
 #if defined(__FreeBSD__)
   LLDB_PLUGIN_INITIALIZE(ProcessFreeBSD);
index 7b020f5..286a95f 100644 (file)
@@ -44,7 +44,7 @@
 using namespace lldb;
 using namespace lldb_private;
 
-LLDB_PLUGIN_DEFINE_ADV(ProcessWindows, ProcessWindowsCommon)
+LLDB_PLUGIN_DEFINE(ProcessWindows)
 
 namespace {
 std::string GetProcessExecutableName(HANDLE process_handle) {