]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Fri, 11 Jul 2025 14:02:19 +0000 (15:02 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 14:02:19 +0000 (14:02 +0000)
commitcba2974a545c9d35f15f25575c214fbda601a47a
treefe4cb5ad23f3aee5ddd34d14b003d3e74c30a646
parent175ada2806abef16187361ba4ad5242fb9284f60
[3.13] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (GH-136500) (#136545)

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
(cherry picked from commit 236f733d8ffb3d587e1167fa0a0248c24512e7fd)
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