================ @@ -1341,9 +1341,22 @@ class ASTReader serialization::InputFile getInputFile(ModuleFile &F, unsigned ID, bool Complain = true); + /// Buffer we use as temporary storage backing resolved paths. + SmallString<256> PathBuf; ---------------- jansvoboda11 wrote:
Allocations during path reading account for 5+% of wall time of the entire dependency scan, so I have to disagree that this isn't so bad. I'm curious, how is static local better than member variable? https://github.com/llvm/llvm-project/pull/113984 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits