[PATCH] D39207: [llvm-objcopy] Add support for dwarf fission

Roland McGrath via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 15:17:55 PDT 2017


It doesn't say anything ELF-specific, but
http://www.dwarfstd.org/doc/DWARF5.pdf Appendix F defines in the abstract
what the .o/.dwo split is about.

On Mon, Oct 23, 2017 at 3:14 PM, Jake Ehrlich via Phabricator <
reviews at reviews.llvm.org> wrote:

> jakehehrlich added a comment.
>
> I wanted to put this up for review a bit early for people to look at. I
> haven't confirmed that gdb/lldb are happy with this output yet but I think
> my basic test here is correct. It only appears to disagree with GNU objcopy
> on points that don't really matter.
>
> My understanding of dwarf-fission is that the .dwo file should wind up
> with all the .dwo sections, the section header table, the .note section and
> nothing else (including the symbol table). I don't really have a spec to
> work off of to confirm that though. I'm just guessing based on what I've
> seen GNU objcopy and clang spit out. My understanding is also that the
> stripped file should wind up with all the sections it had before minus the
> .dwo sections. If anyone could confirm/deny or point me towards a better
> spec that would be awesome. If that is the case then I think this is
> behavior is correct.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D39207
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171023/1b2b0088/attachment.html>


More information about the llvm-commits mailing list