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

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 15:14:28 PDT 2017


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





More information about the llvm-commits mailing list