diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-10 10:21:15 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-10 10:22:30 -0800 |
commit | 572b9f468ad6844795fec29a7e671ba64d82e8c2 (patch) | |
tree | b4a42d7b487a422ffbfed2cdc76df5543587f051 /lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h | |
parent | ef239972614cc3c67006f9c298fcfa841818dc77 (diff) | |
download | llvm-572b9f468ad6844795fec29a7e671ba64d82e8c2.zip llvm-572b9f468ad6844795fec29a7e671ba64d82e8c2.tar.gz llvm-572b9f468ad6844795fec29a7e671ba64d82e8c2.tar.bz2 |
[lldb/Lua] Support loading Lua modules
Implements the command script import command for Lua.
Differential revision: https://reviews.llvm.org/D71825
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |