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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 14 15:53:33 PST 2026


================
@@ -526,8 +531,8 @@ static void splitCodeGen(const Config &C, TargetMachine *TM,
               std::unique_ptr<TargetMachine> TM =
                   createTargetMachine(C, T, *MPartInCtx);
 
-              codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx,
-                      CombinedIndex);
+              ::codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx,
----------------
MaskRay wrote:

unneeded `::` change

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


More information about the cfe-commits mailing list