Skip to content

[BOLT] Do not assume text section name in more places #88303

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

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

urnathan
Copy link
Contributor

Here are a couple more places where ".text" is presumed for the main code section name. I suppose getting to the reloc section should use ELF's sh_link info, but I don't know how to do that. Thus the awkward construction of a std::string.

@urnathan urnathan marked this pull request as ready for review April 10, 2024 19:42
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.

LGTM. Thanks! Please add "[NFC]" to the title.

@urnathan urnathan merged commit 364963a into llvm:main Apr 11, 2024
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.

2 participants