[clang-tools-extra] [clang-doc] add ftime profiling (PR #97644)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 04:06:46 PDT 2024


================
@@ -30,6 +35,7 @@ template <typename T> bool MapASTVisitor::mapDecl(const T *D) {
   if (D->getParentFunctionOrMethod())
     return true;
 
+  llvm::timeTraceProfilerBegin("emit info phase", "emit info");
----------------
PeterChou1 wrote:

emit info was originally meant to mean the code path where the mapper serialized the ASTNode into clang-docs Info record

https://github.com/llvm/llvm-project/pull/97644


More information about the cfe-commits mailing list