[LLVMdev] Gold plugin: emit LLVM after LTO?

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


> Certainly! I think this is an idea that would satisfy the needs of most
> people.
>
> The question remains how to name this option. If it is called
> also-emit-llvm, I would expect to yield xxx.lto.opt.bc, i.e., the LLVM
> corresponding to the regular linker output. If the option is called
> -save-temps, it should give me all the intermediate files as explained by
> Shuxin Yang.

I think a generic name like save-temps is probably best. With that in
we can add more intermediate files as needed and maybe even deprecate
also-emit-llvm.

Cheers,
Rafael



More information about the llvm-dev mailing list