[PATCH] D80523: [DebugInfo] Report the format of debug info tables.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 05:56:50 PDT 2020


ikudrin added a comment.

In D80523#2057999 <https://reviews.llvm.org/D80523#2057999>, @probinson wrote:

> I believe GNU readelf and friends tend to put this info after the length, e.g. "Length: 0x1234 (64-bit)" or "Length: 0x1234 (32-bit)" so it might be worth being vaguely similar.


We do not follow their dumping format, so we should be free to choose our own way. Note also that we already report the format of `.debug_str_offsets` sections like `format = DWARF32/64`. Personally, I do not have any strong preferences for any dumping format. I just need some reliable way to write tests for producers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80523





More information about the llvm-commits mailing list