[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
Fri May 14 05:26:46 PDT 2021
simon.giesecke added a comment.
I came across this when analyzing a perf profile of running llvm-gsymutil. I noticed that quite a lot of time was spent in resizing the DieArray, and then checking the actual number of entries relative to getDebugInfoSize() and found it to be rather in the range of 6-12 bytes (in most cases 6-8 actually). This was a RelWithDebInfo build using clang 12.
Surely, this is purely anecdotal. I don't know where the original estimate of 14-20 bytes came from either.
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