From 572b9f468ad6844795fec29a7e671ba64d82e8c2 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 10 Jan 2020 10:21:15 -0800 Subject: [lldb/Lua] Support loading Lua modules Implements the command script import command for Lua. Differential revision: https://reviews.llvm.org/D71825 --- lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h index 550e1035..4e92215 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h @@ -25,6 +25,11 @@ public: void ExecuteInterpreterLoop() override; + virtual bool + LoadScriptingModule(const char *filename, bool init_session, + lldb_private::Status &error, + StructuredData::ObjectSP *module_sp = nullptr) override; + // Static Functions static void Initialize(); -- cgit v1.1