aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/lit.cfg.py')
-rw-r--r--lldb/test/API/lit.cfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index dcff868..f2a14d1 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.