]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (#136500)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Fri, 11 Jul 2025 13:32:35 +0000 (14:32 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 13:32:35 +0000 (14:32 +0100)
commit236f733d8ffb3d587e1167fa0a0248c24512e7fd
tree8294fb41adca93061189015db301feaf9adcf154
parent7de8ea7be6c19f21c090f44a01817fab26c1f095
gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (#136500)

This commit fixes the following problems:

* The x86_64 trampolines are not preserving frame pointers
* The hardcoded offsets to the code segment from the FDE only worked properly for x64_64
* The CIE data was not following conventions of aarch64
* The eh_frame for aarch64 was not fully correct
Include/internal/pycore_interp_structs.h
Misc/NEWS.d/next/Core_and_Builtins/2025-07-11-13-45-48.gh-issue-136541.uZ_-Ju.rst [new file with mode: 0644]
Python/asm_trampoline.S
Python/perf_jit_trampoline.c
Python/perf_trampoline.c