[lld] [llvm] [LLD][COFF] Add more `--time-trace` tags for ThinLTO linking (PR #156471)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 12:53:54 PDT 2025


================
@@ -1915,13 +1927,9 @@ ThinBackend lto::createWriteIndexesThinBackend(
 
 Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache,
                       const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
+  llvm::TimeTraceScope timeScope("Run ThinLTO");
   LLVM_DEBUG(dbgs() << "Running ThinLTO\n");
   ThinLTO.CombinedIndex.releaseTemporaryMemory();
-  timeTraceProfilerBegin("ThinLink", StringRef(""));
----------------
aganea wrote:

Revert this change, the `ThinLink` tag is now back.

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


More information about the llvm-commits mailing list