[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:50:19 PST 2026


================
@@ -156,7 +161,7 @@ static lto::Config createConfig(Ctx &ctx) {
 
   if (ctx.arg.ltoEmitAsm) {
     c.CGFileType = CodeGenFileType::AssemblyFile;
-    c.Options.MCOptions.AsmVerbose = true;
+    // c.Options.MCOptions.AsmVerbose = true;
----------------
ilovepi wrote:

Unintentional. I'll remove that.

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


More information about the llvm-commits mailing list