GH-115802: Use the GHC calling convention in JIT code (GH-118287)

This commit is contained in:
Brandt Bucher 2024-05-01 08:05:53 -07:00 committed by GitHub
parent beb653cc24
commit 49baa656cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 117 additions and 27 deletions

View file

@ -216,7 +216,7 @@ def is_unwinding_reliable():
cflags = sysconfig.get_config_var("PY_CORE_CFLAGS")
if not cflags:
return False
return "no-omit-frame-pointer" in cflags
return "no-omit-frame-pointer" in cflags and "_Py_JIT" not in cflags
def perf_command_works():