[clang] Add time trace scopes to addToCallGraph & getCFG (PR #174717)

Kashika Akhouri via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 7 03:10:46 PST 2026


================
@@ -218,6 +219,7 @@ CFG *AnalysisDeclContext::getCFG() {
     return getUnoptimizedCFG();
 
   if (!builtCFG) {
+    llvm::TimeTraceScope TimeProfile("BuildCFG");
----------------
kashika0112 wrote:

Done

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


More information about the cfe-commits mailing list