[PATCH] D49676: [DWARF] support for .debug_addr (consumer)

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 12:12:17 PDT 2018


dblaikie added a comment.

What happens when dumping a file using pre-standard debug_addr? (is the version of the CU checked to make sure that the debug_addr section has a header, etc) I know this is super annoying - every time there's a section that lacks its own self-describing, versioned header, it hurts the ability to dump that section in the future :/ (in any object file that contains CUs of the old version that might have a contribution from that section, and thus cause entries in the section without a self-describing/standalone/versioned header)

Also - I know for DW_AT_ranges attributes we have some advanced dumping in some situations that can print section names and the like, I think? Could we reuse that here too so the dumped addresses also have section name+offset, perhaps?


https://reviews.llvm.org/D49676





More information about the llvm-commits mailing list