[Lldb/Lua] Generate Lua Bindings
authorJonas Devlieghere <jonas@devlieghere.com>
Sun, 8 Dec 2019 23:32:57 +0000 (15:32 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 21 Dec 2019 19:28:41 +0000 (11:28 -0800)
commitbf03e17c570171c7a52117fe63ace89d58f328d5
tree8361b20a3a9569ef8cf70fed5033e24c414e99c7
parent2203089a60d826e882e2ccfc5cc5d361b4f91078
[Lldb/Lua] Generate Lua Bindings

This patch uses SWIG to generate the Lua bindings for the SB API. It
covers most of the API, but some methods require a type map similar to
Python.

Discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html

Differential revision: https://reviews.llvm.org/D71235
lldb/CMakeLists.txt
lldb/scripts/CMakeLists.txt
lldb/scripts/lldb_lua.swig [new file with mode: 0644]
lldb/source/API/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Lua/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
lldb/test/Shell/ScriptInterpreter/Lua/bindings.test [new file with mode: 0644]
lldb/unittests/ScriptInterpreter/Lua/LuaTests.cpp