[PATCH] D29719: [MC] Accept and print a numeric value as an ELF section header's type
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 26 11:39:54 PST 2017
Simon Atanasyan <simon at atanasyan.com> writes:
> Agreed.
>
> But there is a bug which needs to e fixed - on MIPS all .debug_*
> sections with DWARF data should have the SHT_MIPS_DWARF section type
> to differentiate them from sections with the same name but contain
> non-DWARF debug information.
> https://reviews.llvm.org/D29789.
>
> If I just assign the SHT_MIPS_DWARF to such sections, the MCSectionELF
> will print `.section .debug_info,"",@`. It looks even more odd than
> `.section .debug_info,"", at 0x7000001e`.
Is there any reason why we (and gas) can't have a @mips_dwarf?
Cheers,
Rafael
More information about the llvm-commits
mailing list