Author: Jonas Devlieghere Date: 2020-02-17T13:53:07-08:00 New Revision: 46c4f63ec491948876ca3edb5343418a6719e0b2
URL: https://github.com/llvm/llvm-project/commit/46c4f63ec491948876ca3edb5343418a6719e0b2 DIFF: https://github.com/llvm/llvm-project/commit/46c4f63ec491948876ca3edb5343418a6719e0b2.diff LOG: [lldb/Plugin] Update ProcessWindows plugin for revert Added: Modified: lldb/source/API/SystemInitializerFull.cpp lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp Removed: ################################################################################ diff --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp index 593f3ab8dcc8..b629e53e9dfe 100644 --- a/lldb/source/API/SystemInitializerFull.cpp +++ b/lldb/source/API/SystemInitializerFull.cpp @@ -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); diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp index 7b020f55e993..286a95fa5894 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp @@ -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) { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits