[Lldb-commits] [PATCH] D54216: [NativePDB] Improve support for reconstructing a clang AST from PDB debug info

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 8 10:26:36 PST 2018

zturner added a comment.

In https://reviews.llvm.org/D54216#1291453, @aleksandr.urakov wrote:

> Looks good, thank you!
> The only question is performance, haven't you checked how much time takes the preprocessing on huge PDBs? Intuitively it seems that it shouldn't take too much time (n*log(n) where n is the count of LF_NESTTYPE records), but may be you have checked this?

I checked on clang.pdb.  For my local build of LLVM this about 780MB.  It's quite slow in debug build (14 seconds for `ParseSectionContribs` and 60 seconds for `PreprocessTpiStream`), but in release build the combined total is less than 2 seconds for both function calls


More information about the lldb-commits mailing list