[PATCH] D74195: [DebugInfo] Do not dump header field for pre-DWARF5 address tables.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 11:30:59 PST 2020


dblaikie added a comment.

In D74195#1864283 <https://reviews.llvm.org/D74195#1864283>, @probinson wrote:

> What do GNU tools report for a v4 .debug_addr section?  Intuitively I'd want to see something that says what's going on, rather than have it look like we just forgot to print the header.


There's not much else to print, really - much like other pre-v4 sections with no separators (eg: debug_ranges) it's a flat list of things, from all the different contributions.

I'm pretty sure pre-v5 we didn't even print the "Addrs: [ ... ]" wrapper, it was ".debug_addr contents: " then lines of "<offset> <address>" pairs & that was it, maybe?

But yeah, fair question as to what binutils/GNU tools do in case there's some inspiration.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74195/new/

https://reviews.llvm.org/D74195





More information about the llvm-commits mailing list