LLDB and Swig 4

Hi all,

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.


Hey Anthony,

We fixed this issue upstream and should be available on upstream-with-swift. It will be available on stable once we rebranch.


1 Like

That's great to know. Thanks Jonas!

1 Like
Terms of Service

Privacy Policy

Cookie Policy