[PATCH] D102487: Avoid underestimating the number of DIEs for a given debug info size.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 14:51:50 PDT 2021


clayborg added a comment.

I had run statistics on a few hundred DWARF files way back when and came up with the original 14-20 byte number, but this was a long long time ago (at least over 10 years). With newer DWARF versions, and with optimizations this can easily change. So it would be great to know what the minimum value should be set to by default. I agree that adding a statistic would be nice so we can track this. I will test some recent DWARF files out and see what my numbers show and report back in this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102487



More information about the llvm-commits mailing list