Re: [RFA 24/42] Move pending_blocks and pending_block_obstack to buildsym_compunit

Simon Marchi
2018-07-10T02:05:33Z

On 2018-05-23 12:58 AM, Tom Tromey wrote:
> @@ -344,7 +348,6 @@ find_symbol_in_list (struct pending *list, char *name, int length)
>
> scoped_free_pendings::scoped_free_pendings ()
> {
> - gdb_assert (pending_blocks == nullptr);
> }

You can remove the constructor (here and in the .h).

Otherwise, LGTM. The ownership model of the pending blocks is not very clear
to me yet, but I'm sure it will become by the end of the series.

Simon