diff --git a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp index bf1fd7c2356d..d96211c3a663 100644 --- a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp @@ -183,7 +183,7 @@ bool CoreEngine::ExecuteWorkList(const LocationContext *L, unsigned MaxSteps, static std::string timeTraceScopeName(const ProgramPoint &Loc) { if (llvm::timeTraceProfilerEnabled()) { - return llvm::formatv("Loc {0}", + return llvm::formatv("dispatchWorkItem {0}", ProgramPoint::getProgramPointKindName(Loc.getKind())) .str(); } diff --git a/clang/test/Analysis/ftime-trace.cpp b/clang/test/Analysis/ftime-trace.cpp index 2c369a9bf781..2940ff2e0289 100644 --- a/clang/test/Analysis/ftime-trace.cpp +++ b/clang/test/Analysis/ftime-trace.cpp @@ -23,7 +23,7 @@ // The trace also contains durations of each step, but they are so short that they are not reliably present // in each run. However, they are also aggregated into Total *, for example: // -// CHECK: "name": "Total Loc PostStmt", +// CHECK: "name": "Total dispatchWorkItem PostStmt", // CHECK-NEXT: "args": { // CHECK-NEXT: "count": {{[0-9]+}}, // CHECK-NEXT: "avg ms": {{[0-9]+}}