[LLVMdev] Gold plugin: emit LLVM after LTO?

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jun 4 12:23:39 PDT 2013


On 4 June 2013 13:36, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> The Apple ld (shipped with Xcode, open-source) saves the 3 files if
> -save-temps is applied:
>   - xxx.lto.bc : the merged bit-code before IPA
>   - xxx.lto.opt.bc: the optimized bit-code of the *.lto.bc
>   - xxx.lto.o : the object file of xxx.lto.bc
>
> I think it is better way to go, often time we need IR both after and after
> the transformation.

Agreed. Jonas, would it work for you if the also-emit-llvm option did this?

Cheers,
Rafael



More information about the llvm-dev mailing list