[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 08:56:42 PST 2026
================
@@ -413,9 +420,9 @@ bool lto::opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod,
return !Conf.PostOptModuleHook || Conf.PostOptModuleHook(Task, Mod);
}
-static void codegen(const Config &Conf, TargetMachine *TM,
- AddStreamFn AddStream, unsigned Task, Module &Mod,
- const ModuleSummaryIndex &CombinedIndex) {
+static void startCodegen(const Config &Conf, TargetMachine *TM,
----------------
ilovepi wrote:
After including `llvm/CodeGen/CommandFlags.h` the name was ambiguous, so I renamed it. TBH I had meant to revisit the rename, but I forgot. I'll see if I can resolve it w/ a namepace or other standard mechanism.
https://github.com/llvm/llvm-project/pull/179509
More information about the llvm-commits
mailing list