[llvm] [DWARF] Speedup .gdb_index dumping (PR #151806)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 09:54:58 PDT 2025
https://github.com/dwblaikie commented:
Thanks for the improvement!
Hmm, actually at a high level: I guess this `ConstantPoolVectors` isn't sorted, is it? So we can't do a binary search... could we sort it? I guess not - since we do want to dump it in a way that matches the input too (in case the on-disk ordering is important to debugging the data at some point)?
(oh, and high level question, if you're interested/able: What's your interest in gdb_index? Myself, I've worked on various indexing solutions at Google due to the large size of single binaries we have, for a while but we rarely see traction/interest in these tools outside of Google - so it's always interesting to make friends with folks who are facing similar problems)
https://github.com/llvm/llvm-project/pull/151806
More information about the llvm-commits
mailing list