[PATCH 0/7 v2] Class-fy partial_die_info

Yao Qi qiyaoltc@gmail.com
Thu Feb 22 15:36:00 GMT 2018


When I fix some issues related to dwarf, I class-fy partial_die_info as
part of the fix.  The class-fication bits can go upstream first.

This is the v2 of this patch series, v1 can be found
https://sourceware.org/ml/gdb-patches/2018-01/msg00505.html Changes
in v2 are,

 - Don't move the location of partial_die_info::fixup_called, as it may
   increase the memory usage,
 - Add some comments to read_partial_die,

*** BLURB HERE ***

Yao Qi (7):
  Re-write partial_die_info allocation in load_partial_dies
  Don't check abbrev is NULL in read_partial_die
  Change find_partial_die_in_comp_unit to dwarf2_cu::find_partial_die
  Class-fy partial_die_info
  Remove one argument abbrev_len in read_partial_die
  Move fixup_partial_die to partial_die_info::fixup
  Move read_partial_die to partial_die_info::read

 gdb/dwarf2read.c | 337 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 183 insertions(+), 154 deletions(-)

-- 
1.9.1



More information about the Gdb-patches mailing list