[PATCH] Emit aliases for extern "C" internal linkage declarations

Richard Smith richard at metafoo.co.uk
Fri Apr 5 22:02:57 PDT 2013


On Fri, Apr 5, 2013 at 1:05 PM, John McCall <rjmccall at apple.com> wrote:

> On Apr 4, 2013, at 7:15 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> > As previously discussed...
> >
> > The attached patch emits an alias when an internal-linkage function or
> variable is declared within an extern "C" block and marked with the 'used'
> attribute, and allows the unmangled name of the entity to be used (from,
> say, inline asm in the same file) if it is unambiguous.
>
> This looks great;  thanks, Richard.
>

Thanks to Rafael for prodding me into doing this! r178950.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130405/098616f4/attachment.html>


More information about the cfe-commits mailing list