This applies the same trick for Lua that I did for python in
27b6a4e63afe.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
We've already discussed that offline but I really think there should be a ScriptInterpreter SWIGBridge plugin and that would have all the method the Python and Lua SWIGBridge have in common, so the SB classes won't have to be specialized for every scripting language.
So, I agree that we should definitely unify this or else we end up doing this for every scripting language that we add support for. That being said, I think this is actually better than what we had before because now we're not exposing lldb private details in the public interface. There is a TODO comment in SWIGPythonBridge.h already for cleaning this up when we have a moment... I don't want to block this patch unless we're ok reverting the previous one, and I'd preferably not revert that one...
I have enabled Lua testing on the incremental bot on GreenDragon (https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/). This has always been the intention (note how the job mentions "Python 3 and Lua 5.3") but wasn't enabled until earlier today.