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 handling of compressed .debug_str_offsets sections #27

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

khuey
Copy link
Contributor

@khuey khuey commented Aug 2, 2023

Should be straightforward.

Copy link
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

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

rustfmt looks to be failing, can you fix that then I'll merge?

Thorin needs to pass the *decompressed* size to remap_str_offsets_section
or the .debug_str_offsets section will be unexpectedly truncated if it
was compressed.
@khuey
Copy link
Contributor Author

khuey commented Aug 2, 2023

Done.

@oli-obk oli-obk merged commit 04d3015 into rust-lang:main Aug 3, 2023
2 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.

3 participants