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

Simon Giesecke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 15 02:49:42 PDT 2021


simon.giesecke added a comment.

After thinking about this again, I wonder:

- How bad it would be to overestimate the number of entries; there might obviously be cases where this would lead to memory exhaustion. Not sure if we he have some standard means of recognizing a memory pressure situation in the LLVM codebase?
- As @dblaikie asked If this may vary significantly depending on the platform, compiler, optimization level and other properties, and we should better probe this somehow for a given binary.


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