[PATCH] D20211: [ELF] - Support of compressed debug sections creation(draft).

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sun May 15 01:32:59 PDT 2016


>On Fri, May 13, 2016 at 7:36 AM, Rui Ueyama via llvm-commits
><llvm-commits at lists.llvm.org> wrote:
>> I think the most important question is whether we want to support emitting
>> compressed debug sections or not. Looks like reading compressed debug
>> sections is at least more common.
>>
>
>I understand that llvm can generate compressed debug sections
>today.  Can't llvm/lld share the same code for outputting compressed
>debug sections?

Just in case if we will return to idea of supporting compressed outputs one day:
as far I was able to find, the only place about compression in llvm now is 
ELFObjectWriter::writeSectionData() method.

And it only supports gnu style now (sections are renamed to ".z*", 'zlib' magic header is used, no
SHF_COMPRESSED flag is set).

>--
>H.J.


More information about the llvm-commits mailing list