adamcz created this revision. adamcz added a reviewer: kadircet. Herald added subscribers: usaxena95, arphaman. Herald added a project: All. adamcz requested review of this revision. Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov. Herald added a project: clang-tools-extra.
This is very useful information for better understanding performance and preamble builds don't happen that often, so it's not that spammy. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D130636 Files: clang-tools-extra/clangd/Preamble.cpp Index: clang-tools-extra/clangd/Preamble.cpp =================================================================== --- clang-tools-extra/clangd/Preamble.cpp +++ clang-tools-extra/clangd/Preamble.cpp @@ -552,7 +552,7 @@ } if (BuiltPreamble) { - vlog("Built preamble of size {0} for file {1} version {2} in {3} seconds", + log("Built preamble of size {0} for file {1} version {2} in {3} seconds", BuiltPreamble->getSize(), FileName, Inputs.Version, PreambleTimer.getTime()); std::vector<Diag> Diags = PreambleDiagnostics.take();
Index: clang-tools-extra/clangd/Preamble.cpp =================================================================== --- clang-tools-extra/clangd/Preamble.cpp +++ clang-tools-extra/clangd/Preamble.cpp @@ -552,7 +552,7 @@ } if (BuiltPreamble) { - vlog("Built preamble of size {0} for file {1} version {2} in {3} seconds", + log("Built preamble of size {0} for file {1} version {2} in {3} seconds", BuiltPreamble->getSize(), FileName, Inputs.Version, PreambleTimer.getTime()); std::vector<Diag> Diags = PreambleDiagnostics.take();
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits