[all-commits] [llvm/llvm-project] ae389b: [lldb] use EXT_SUFFIX for python extension
lawrence-danna-apple via All-commits
all-commits at lists.llvm.org
Tue Nov 16 14:32:39 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae389b2450bd604a3f3bbe5b09b333b2d99801dd
https://github.com/llvm/llvm-project/commit/ae389b2450bd604a3f3bbe5b09b333b2d99801dd
Author: Lawrence D'Anna <lawrence_danna at apple.com>
Date: 2021-11-16 (Tue, 16 Nov 2021)
Changed paths:
M lldb/CMakeLists.txt
M lldb/bindings/python/CMakeLists.txt
M lldb/bindings/python/get-python-config.py
Log Message:
-----------
[lldb] use EXT_SUFFIX for python extension
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.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D112972
More information about the All-commits
mailing list