[PATCH] Prevent user-supplied libc implementations from premature removal in LTO

Duncan Exon Smith dexonsmith at apple.com
Tue Nov 5 09:53:27 PST 2013


On Nov 4, 2013, at 6:20 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:

> I think this patch is OK with those changes.

Final (?) patch attached.

> Nick, can you confirm
> that TLI.getLibFunc is the right function to use for this for now? We
> have to add the compiler-rt functions to the list of functions we
> don't drop, but TLI.getLibFunc should not be preventing us from
> dropping anything we should be able to, correct?

Thanks for your review!  I’ll wait to hear from Nick before getting this committed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-runtime-library-functions-to-compiler-used.patch
Type: application/octet-stream
Size: 4672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131105/c0d343d1/attachment.obj>


More information about the llvm-commits mailing list