Re: [PATCH v2 00/42] Share DWARF partial symtabs between objfiles

Tom de Vries
2020-05-31T14:22:30Z

On 31-05-2020 06:16, Simon Marchi wrote:
> See this proof of concept fix, which sets per_bfd->partial_symtabs in
> dwarf2_read_gdb_index (when parsing the first objfile), and reads it back
> in dwarf2_initialize_objfile (when parsing the second objfile).

I've tested this patch with the test-suite file-twice hack and target
board cc-with-gdb-index, and it fixes all regressions.

Also, I've tested it with my ada .gdb_index patch series, and also there
it fixes the regressions.

Thanks,
- Tom