Re: [PATCH] [dwarf2read] Fix crash when loading dwp files: calculate num_sections based on actual section indices, not just the number of sections.

Simon Marchi
2019-02-27T17:40:18Z

On 2019-02-27 12:22, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>
> Simon> So my impression now is that dwp doesn't apply to non-ELF
> projects.
> Simon> It is built as part of gold, which itself deals only with ELF,
> AFAIK.
> Simon> I tried to build gold on AIX, without success.
>
> I think there's also llvm-dwp. Does it work on Mach-O?
>
> Tom

Of course, there's llvm-dwp, it's the reason this patch was written :).

Maybe David (in CC) can help answer this?

Simon