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

Don't parse ranges for partial units #313

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Jul 25, 2024

These don't normally have ranges anyway, but it is possible for them to have a DW_AT_stmt_list that points to the same program that contains ranges for a compilation unit, and loading the ranges from that is wrong.

This used to work because our search would find the compilation unit first, but we changed the search order and now it was finding the partial unit.

Closes #311

These don't normally have ranges anyway, but it is possible for
them to have a DW_AT_stmt_list that points to the same program
that contains ranges for a compilation unit, and loading the ranges
from that is wrong.

This used to work because our search would find the compilation unit
first, but we changed the search order and now it was finding
the partial unit.
@philipc philipc merged commit 4289882 into gimli-rs:master Jul 26, 2024
11 checks passed
@philipc philipc deleted the issue-311 branch July 26, 2024 04:54
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.

Missing function names (due to overlapping unit ranges?) on debug files of ls
1 participant