We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66008eb commit a94fa89Copy full SHA for a94fa89
src/rustllvm/PassWrapper.cpp
@@ -67,7 +67,11 @@ extern "C" void LLVMInitializePasses() {
67
}
68
69
extern "C" void LLVMTimeTraceProfilerInitialize() {
70
-#if LLVM_VERSION_GE(9, 0)
+#if LLVM_VERSION_GE(10, 0)
71
+ timeTraceProfilerInitialize(
72
+ /* TimeTraceGranularity */ 0,
73
+ /* ProcName */ "rustc");
74
+#elif LLVM_VERSION_GE(9, 0)
75
timeTraceProfilerInitialize();
76
#endif
77
0 commit comments