Skip to content

Commit 97fdcb8

Browse files
committed
.
Created using spr 1.3.5-bogner
1 parent 586f1fa commit 97fdcb8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ void EmitAssemblyHelper::emitAssembly(const CompilerInstance &CI,
12151215
BackendConsumer *BC) {
12161216
Timer timer;
12171217
if (CodeGenOpts.TimePasses)
1218-
timer.init("codegen", "Code Generation Time", CI.getFrontendTimerGroup());
1218+
timer.init("codegen", "Code Generation Time");
12191219
TimeRegion Region(CodeGenOpts.TimePasses ? &timer : nullptr);
12201220
setCommandLineOpts(CodeGenOpts);
12211221

clang/test/Frontend/ftime-report-template-decl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,10 @@ struct _Wrap_alloc {
150150
};
151151
_Wrap_alloc<int>::rebind<int> w;
152152

153+
// CHECK: Miscellaneous Ungrouped Timers
154+
// CHECK: Code Generation Time
155+
// CHECK: Total
153156
// CHECK: Clang front-end time report
154157
// CHECK: Clang front-end timer
155158
// CHECK-NEXT: LLVM IR Generation Time
156-
// CHECK-NEXT: Code Generation Time
157159
// CHECK-NEXT: Total

0 commit comments

Comments
 (0)