[PATCH] [LTO API] add lto_codegen_set_should_internalize.

Manman Ren manman.ren at gmail.com
Thu Apr 16 17:18:18 PDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150416/d04a85a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_should_internalize.patch
Type: application/octet-stream
Size: 2842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150416/d04a85a3/attachment.obj>


More information about the llvm-commits mailing list