Skip to content

Commit

Permalink
fix mis-identification
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminRomano committed May 1, 2024
1 parent 8cf2e00 commit 8792018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symbolic-debuginfo/src/dwarf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ impl<'d, 'a> UnitRef<'d, 'a> {
// in this scenario.
match prior_offset {
Some(prior) => {
if prior == ref_entry.offset() {
if self.offset() == ref_unit.offset() && prior == ref_entry.offset() {
return Ok(None);
}
}
Expand Down

0 comments on commit 8792018

Please sign in to comment.