[Lldb-commits] [lldb] d7082e0 - [lldb/Plugin] Don't define initializers inside lldb_private
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 7 16:51:06 PST 2020
Author: Jonas Devlieghere
Date: 2020-02-07T16:50:59-08:00
New Revision: d7082e03373ca6e58d2d187a6890157c4ca9ec47
URL: https://github.com/llvm/llvm-project/commit/d7082e03373ca6e58d2d187a6890157c4ca9ec47
DIFF: https://github.com/llvm/llvm-project/commit/d7082e03373ca6e58d2d187a6890157c4ca9ec47.diff
LOG: [lldb/Plugin] Don't define initializers inside lldb_private
This should fix the Windows build.
Added:
Modified:
lldb/include/lldb/Core/PluginManager.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Core/PluginManager.h b/lldb/include/lldb/Core/PluginManager.h
index b8e1d609e6ff..2f227fb57f15 100644
--- a/lldb/include/lldb/Core/PluginManager.h
+++ b/lldb/include/lldb/Core/PluginManager.h
@@ -23,10 +23,8 @@
#include <stdint.h>
#define LLDB_PLUGIN(PluginName) \
- namespace lldb_private { \
void lldb_initialize_##PluginName() { PluginName::Initialize(); } \
void lldb_terminate_##PluginName() { PluginName::Terminate(); } \
- }
// FIXME: Generate me with CMake
#define LLDB_PLUGIN_INITIALIZE(PluginName) \
More information about the lldb-commits
mailing list