Skip to content

gh-149800: Split perf trampoline assembly into per-architecture files#149894

Open
stratakis wants to merge 2 commits into
python:mainfrom
stratakis:split_trampolines
Open

gh-149800: Split perf trampoline assembly into per-architecture files#149894
stratakis wants to merge 2 commits into
python:mainfrom
stratakis:split_trampolines

Conversation

@stratakis
Copy link
Copy Markdown
Contributor

@stratakis stratakis commented May 15, 2026

@stratakis
Copy link
Copy Markdown
Contributor Author

I believe this is a candidate for skip-news since it's refactoring.

I've tested the combinations on x86_64 and aarch64. Final binary has the proper hardware protections when used and gnu notes, perf tests pass, -Xperf and -Xperf_jit works fine through my testing and also for completeness I tested out of tree builds and they are fine as well.

For the build part I haven't tested the macOS, I don't have access to a machine, this needs to be verified. I followed there a similar convention as the jit_shim object.

Noting that the RISC-V support is broken, hence the lack of configure target, I just moved the assembly to its own file, I plan to provide a PR to fix it in the future, but hopefully after the implementation of automatic generation of dwarf info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant