[lld] [llvm] [LTO][lld] Emit textual assembly code with '--save-temps' (PR #195922)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 09:50:06 PDT 2026


jhuber6 wrote:

> I'm having trouble adding a comment into the code, trying here. The new block in codegen heavily duplicates the normal path below it. Can they be largely combined?

Maybe the handling could be moved a little later, but this is mostly because these are completely incompatible paths now. The previous code used CloneModule to just do it as an extra step, but not when we do save-temps it means we generate the result in a non-compatible way. There's not too much more you can share but there's probably some checks I could move earlier.

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


More information about the llvm-commits mailing list