Skip to content

Commit

Permalink
fix initializing DWARF_InfoData.ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Jul 6, 2023
1 parent e076c74 commit e3e9c45
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,10 @@ unreleased Version 0.22

* support DW_FORM_data1 and DW_FORM_data2 in DW_LNCT_directory_index
* fix emitting bad debug info if struct description exceeds 64 kB, clipped for now

2023-06-10 Version 0.53

* DWARF: fully-qualified name generation for procs, structs, enums and classes.
Thanks to alexbudfb


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = 0.52
VERSION = 0.53
5 changes: 2 additions & 3 deletions src/readDwarf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,10 +713,9 @@ DWARF_InfoData* DIECursor::readNext(DWARF_InfoData* entry, bool stopAtNull)
establishLinks = true;
node = std::make_unique<DWARF_InfoData>();
entry = node.get();
} else {
// If an entry was provided, make sure we clear it.
entry->clear();
}
// Even if an entry was provided, make sure we clear it.
entry->clear();

entry->img = img;

Expand Down

0 comments on commit e3e9c45

Please sign in to comment.