Re: [RFA 3/6] Allocate dwarf2_cu with new

Yao Qi
2018-01-10T12:17:30Z

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 (齐尧)