[PATCH] [LTO API] add lto_codegen_set_should_internalize.

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu Apr 16 17:27:29 PDT 2015


> On 2015-Apr-16, at 17:18, Manman Ren <manman.ren at gmail.com> wrote:
> 
> 
> When debugging LTO issues with ld64, we use -save-temps to save the merged
> optimized bitcode file, then invoke ld64 again on the single bitcode file.
> The saved bitcode file is already internalized, so we can call
> lto_codegen_set_should_internalize and skip running internalization again.
> 
> 
> Thanks for reviewing!
> 
> Manman
> <add_should_internalize.patch>

LGTM.



More information about the llvm-commits mailing list