Author: Adrian Prantl Date: 2025-10-27T15:49:58-07:00 New Revision: f8243ce9c73bda19648a7b3b3bfcb584783469da
URL: https://github.com/llvm/llvm-project/commit/f8243ce9c73bda19648a7b3b3bfcb584783469da DIFF: https://github.com/llvm/llvm-project/commit/f8243ce9c73bda19648a7b3b3bfcb584783469da.diff LOG: [LLDB] Remove signature from python copy when injecting ASAN runtime Added: Modified: lldb/test/API/lit.cfg.py Removed: ################################################################################ diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index dcff8687fb4ca..f2a14d1475385 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -90,6 +90,8 @@ def find_python_interpreter(): ) shutil.copy(real_python, copied_python) + # macOS 15+ restricts injecting the ASAN runtime to only user-compiled code. + subprocess.check_call(["/usr/bin/codesign", "--remove-signature", copied_python]) # Now make sure the copied Python works. The Python in Xcode has a relative # RPATH and cannot be copied. _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
