================
@@ -890,6 +892,9 @@ llvm::parseReducerWorkItem(StringRef ToolName, StringRef 
Filename,
       if (MMM->LTOInfo->IsThinLTO && MMM->LTOInfo->EnableSplitLTOUnit)
         initializeTargetInfo();
     }
+
+    if (MMM->LTOInfo)
+      AssignGUIDPass::runOnModule(MMM->getModule());
----------------
boomanaiden154 wrote:

Yeah, it is a bit wonky. This is the canonical way to do this as far as I can 
tell though, and I'm not sure there's a better solution.

e.g.:
https://github.com/llvm/llvm-project/blob/9c024f3a83cf2469b27ae42c1a8d3ab635da3dc1/llvm/tools/opt/optdriver.cpp#L632

https://github.com/llvm/llvm-project/pull/208965
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to