[lld] [lld] Make `--lto-emit-llvm` to be more consistent with `--lto-emit-asm` (PR #97469)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 13:07:35 PDT 2024


https://github.com/MaskRay approved this pull request.

Thanks for catching this missing alias! I occasionally debug issues with  `--lto-emit-asm`. I tried `--lto-emit-llvm`, but I didn't bother adding an alias then.

Can you add a test to lto/emit-llvm.ll ?

> Make --lto-emit-llvm to be more consistent with --lto-emit-asm 

I think "add --lto-emit-llvm and make --plugin-opt=emit-llvm" might be a better title.
The body can mention that this improves consistency with --lto-emit-asm.

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


More information about the llvm-commits mailing list