[PATCH] D32618: DWARF: Implementation of v5 string offsets table (.debug_str_offsets[.dwo] section)

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 16:44:52 PDT 2017


wolfgangp added a comment.

In https://reviews.llvm.org/D32618#740256, @aprantl wrote:

> > Also, apologies for not handling Mach-O.
>
> Typically we try to do a best effort on all supported containers (ELF, Mach-O, COFF) when adding new features.
>  Could you outline what is necessary there? Is it just coming up with a short-enough section name or is there more to it?


That is probably it. Basically, the hardest part is just making string references unique to the unit (compile unit, type unit) and putting all the relocatable string references into the new section. Nothing that should be specific to the object file format. I can take a stab at it, it shouldn't take too long.


https://reviews.llvm.org/D32618





More information about the llvm-commits mailing list