summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-02-07 14:58:18 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-02-07 15:28:27 -0800
commitfbb4d1e43d0db9f8d1514a0209bb01f56e49d75f (patch)
tree94dacc30482f41685523df03b17e65fece4e1680 /lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
parentbb717d3f469b997ce6b13f2b87ffd78d2d2254b7 (diff)
[lldb/Plugins] Use external functions to (de)initialize plugins
This is a step towards making the initialize and terminate calls be generated by CMake, which in turn is towards making it possible to disable plugins at configuration time. Differential revision: https://reviews.llvm.org/D74245
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
index a2dfa9d22295..b25ec61f9d26 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
@@ -19,6 +19,8 @@
using namespace lldb;
using namespace lldb_private;
+LLDB_PLUGIN(ScriptInterpreterLua);
+
class IOHandlerLuaInterpreter : public IOHandlerDelegate,
public IOHandlerEditline {
public: