mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 09:00:29 +08:00
libbacktrace: initialize DWARF 5 fields of unit
When I added the fields in 2019-12-13 I forgot to initialize them. * dwarf.c (build_address_map): Initialize DWARF 5 fields of unit.
This commit is contained in:
parent
fe581e6343
commit
6d66bd25dc
@ -2221,6 +2221,9 @@ build_address_map (struct backtrace_state *state, uintptr_t base_address,
|
||||
u->comp_dir = NULL;
|
||||
u->abs_filename = NULL;
|
||||
u->lineoff = 0;
|
||||
u->str_offsets_base = 0;
|
||||
u->addr_base = 0;
|
||||
u->rnglists_base = 0;
|
||||
|
||||
/* The actual line number mappings will be read as needed. */
|
||||
u->lines = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user