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

[BOLT] Determine address size from binary #74870

Merged
merged 2 commits into from
Dec 9, 2023
Merged

Conversation

urnathan
Copy link
Contributor

@urnathan urnathan commented Dec 8, 2023

Back on to bolt stuff. I noticed a couple of hard-coded 8's, rather than query the executable. I couldn't find an equivalent for the endianness check in parseBuildID, but fortunately my target is also little endian.

Don't hard code 64-bit address size.
@urnathan urnathan requested a review from maksfb December 8, 2023 17:16
Copy link

github-actions bot commented Dec 8, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

@urnathan urnathan marked this pull request as ready for review December 8, 2023 18:03
Copy link
Contributor

@maksfb maksfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@urnathan urnathan merged commit 9596676 into llvm:main Dec 9, 2023
6 checks passed
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