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 D71235
[lldb/Lua] Generate Lua Bindings and Make Them Available to the Script Interpreter JDevlieghere on Dec 9 2019, 4:58 PM. Authored by
Details
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
Diff Detail
Event Timeline
Comment Actions This looks fine. Things will start to get interesting once you start wanting to access the current session from inside the lua script (not just creating a new one),,
|
This change here (unconditionally including the scripts subdir) made SWIG a hard dependency, even if both lua and python are disabled.
I pushed a commit to fix that, I hope that's ok.