It seems like Swift LLDB is not compatible with Swig 4. If I compile a Swift toolchain with Swig 4 installed, LLDB scripting is not working. The generated
LLDB.framework/Resources/Python/lldb/__init__.py file is using things like
__swig_getmethods__ which have been removed in Swig 4. This means that either a warning should be added in the compilation instructions or that the codebase should be converted to be compatible with Swig 4.