* dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
the order they're defined in. munmap .debug_types buffer.
This commit is contained in:
parent
ec48365dd8
commit
16be1145cb
@ -1,3 +1,8 @@
|
||||
2010-08-27 Doug Evans <dje@google.com>
|
||||
|
||||
* dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
|
||||
the order they're defined in. munmap .debug_types buffer.
|
||||
|
||||
2010-08-26 Doug Evans <dje@google.com>
|
||||
|
||||
* dwarf2read.c (dw2_require_full_path): Rename parameter cu to per_cu.
|
||||
|
@ -14545,13 +14545,16 @@ dwarf2_per_objfile_free (struct objfile *objfile, void *d)
|
||||
{
|
||||
struct dwarf2_per_objfile *data = d;
|
||||
|
||||
/* This is sorted according to the order they're defined in to make it easier
|
||||
to keep in sync. */
|
||||
munmap_section_buffer (&data->info);
|
||||
munmap_section_buffer (&data->abbrev);
|
||||
munmap_section_buffer (&data->line);
|
||||
munmap_section_buffer (&data->str);
|
||||
munmap_section_buffer (&data->macinfo);
|
||||
munmap_section_buffer (&data->ranges);
|
||||
munmap_section_buffer (&data->loc);
|
||||
munmap_section_buffer (&data->macinfo);
|
||||
munmap_section_buffer (&data->str);
|
||||
munmap_section_buffer (&data->ranges);
|
||||
munmap_section_buffer (&data->types);
|
||||
munmap_section_buffer (&data->frame);
|
||||
munmap_section_buffer (&data->eh_frame);
|
||||
munmap_section_buffer (&data->gdb_index);
|
||||
|
Loading…
Reference in New Issue
Block a user