Re: [PATCH 03/14] Introduce dwarf2_per_objfile::obstack

Tom Tromey
2020-02-22T00:44:54Z

>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:

>> + struct dwarf2_per_objfile *dwarf2_per_objfile
>> + = get_dwarf2_per_objfile (objfile);
>> + qfn->real_names = OBSTACK_CALLOC (&dwarf2_per_objfile->obstack,
>> + qfn->num_file_names, const char *);
>> + }

Simon> The callers of dw2_get_real_path should be able to pass the dwarf2_per_objfile directly,
Simon> instead of the objfile, simplifying this.

Indeed. I made this change.

Tom