[clang] [lld] [llvm] [llvm][lld][clang] Delay initializing TargetOptions in LTO builds until a Triple is available (PR #179509)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 15:51:02 PST 2026


================
@@ -1678,10 +1687,15 @@ class FirstRoundThinBackend : public InProcessThinBackend {
       // no module hash.
       return RunThinBackend(CGAddStream, IRAddStream);
 
+    auto Mod = ModuleMap.front().second.parseModule(BackendContext);
----------------
ilovepi wrote:

I settled on just plumbing the triple down through a few of the APIs.

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


More information about the llvm-commits mailing list