[PATCH] D27960: Use exact vector capacities to store DWARF line tables

Simon Que via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 15:48:56 PST 2016


sque added a comment.

In https://reviews.llvm.org/D27960#628119, @mehdi_amini wrote:

> Can you provide the instructions (and inputs if needed) to reproduce?


I'm using non-public code, but if you have some binary that can read in debug info using DWARFContext, it would suffice. As for the input binary, I used a large 4 GB executable, but I see a similar difference between https://reviews.llvm.org/B1 and https://reviews.llvm.org/B2 with a 200 MB binary.

> Also, have you tried the approach you mentioned of having dry-run first to count the number of row? (Just curious)

No, but I can try it later.

> Also, do you have an explanation for these numbers?

Not off the top of my head. I'll have to run a few other things.


https://reviews.llvm.org/D27960





More information about the llvm-commits mailing list