This is an archive of the discontinued LLVM Phabricator instance.

[lldb] use EXT_SUFFIX for python extension
ClosedPublic

Authored by lawrence_danna on Nov 1 2021, 4:55 PM.

Details

Summary

LLDB doesn't use only the python stable ABI, which means loading
it into an incompatible python can cause the process to crash.
_lldb.so should be named with the full EXT_SUFFIX from sysconfig

  • such as _lldb.cpython-39-darwin.so -- so this doesn't happen.

Diff Detail