[lld] [lld][COFF][LTO] Implement /lldemit:asm option (PR #67079)

Matheus Izvekov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 10:24:24 PDT 2023


================
@@ -87,13 +87,21 @@ lto::Config BitcodeCompiler::createConfig() {
   c.RunCSIRInstr = ctx.config.ltoCSProfileGenerate;
   c.PGOWarnMismatch = ctx.config.ltoPGOWarnMismatch;
 
-  if (ctx.config.emit == EmitKind::LLVM) {
+  switch (ctx.config.emit) {
+  case EmitKind::Obj:
----------------
mizvekov wrote:

That's fine as well.

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


More information about the llvm-commits mailing list