[lld] [llvm] [DTLTO] Overlap temporary file removal (PR #209423)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 08:21:54 PDT 2026


================
@@ -707,6 +712,8 @@ void LinkerDriver::linkerMain(ArrayRef<const char *> argsArr) {
     invokeELFT(link, args);
   }
 
+  cleanupLTO();
----------------
teresajohnson wrote:

Add comment to document why this is done here (so it doesn't get moved below time tracing below for example). Ditto for COFF

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


More information about the llvm-commits mailing list