[PATCH] D49678: [llvm-objcopy] Adding support for compressed DWARF debug sections.

Jake Ehrlich via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 10:44:38 PDT 2018


Compressed sections are a general kind of section. You can compress
literally any kind of section. All relocations are in terms of the
decompressed section. We can't use ELFSectionWriter on say symbol tables
because the actual data there isn't finalized until finalization. We don't
have to concern ourselves with how compression and modification interact
for debug sections because we don't modify those.

On Wed, Aug 1, 2018, 2:59 AM James Henderson via Phabricator <
reviews at reviews.llvm.org> wrote:

> jhenderson added a comment.
>
> I think @jakehehrlich's proposal more or less matches my thoughts. But I'm
> wondering why we need the OriginalData field? Do we have anything else that
> can modify the contents of a debug section? If not, why do we need a
> different field here? I may be missing something obviously...
>
> On the note of weird diffs, are you developing on Windows, and if so, did
> you remember to strip line endings?
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D49678
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180801/a888a7f9/attachment.html>


More information about the llvm-commits mailing list