Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix profiling the first function in a module #7254

Merged

Conversation

alexcrichton
Copy link
Member

This commit removes a clause in register_module which was preventing perf profiling the first function in a module because it was located at address 0. This check is relatively dated at this point and I think I originally added it in error (and/or it was copied from somewhere else), so this commit removes it.

This commit removes a clause in `register_module` which was preventing
`perf` profiling the first function in a module because it was located
at address 0. This check is relatively dated at this point and I think I
originally added it in error (and/or it was copied from somewhere else),
so this commit removes it.
@alexcrichton alexcrichton requested a review from a team as a code owner October 16, 2023 15:58
@alexcrichton alexcrichton requested review from pchickey and removed request for a team October 16, 2023 15:58
@alexcrichton alexcrichton added this pull request to the merge queue Oct 16, 2023
Merged via the queue into bytecodealliance:main with commit ad4f923 Oct 16, 2023
18 checks passed
@alexcrichton alexcrichton deleted the profile-first-function branch October 16, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants