[RFA 3/6] Allocate dwarf2_cu with new

Yao Qi qiyaoltc@gmail.com
Wed Jan 10 12:17:00 GMT 2018


Tom Tromey <tom@tromey.com> writes:

>  /* Internal state when decoding a particular compilation unit.  */
>  struct dwarf2_cu
>  {
> +  dwarf2_cu (struct dwarf2_per_cu_data *per_cu);

Add "explicit"?

> +  ~dwarf2_cu ();
> +
> +  DISABLE_COPY_AND_ASSIGN (dwarf2_cu);
> +
> +  void free_abbrev_table ();

Move comments to dwarf2_free_abbrev_table here?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list