[cfe-commits] [PATCH] Potential fix for PR9614
Peter Collingbourne
peter at pcc.me.uk
Sun Oct 9 12:11:17 PDT 2011
Hi,
These patches (for Clang and LLVM) together fix PR9614.
The Clang patch causes it to mark self calls to available_externally
functions via an asm label as noinline, and the LLVM patch inhibits
certain optimizations, including tail call elimination, for noinline
calls to available_externally functions, forcing a call to the external
version of the function.
Any thoughts on this approach? Is this OK to commit?
Thanks,
--
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-pr9614.patch
Type: text/x-diff
Size: 7520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111009/e71f0444/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-pr9614.patch
Type: text/x-diff
Size: 2451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111009/e71f0444/attachment-0001.patch>
More information about the cfe-commits
mailing list