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

John McCall rjmccall at apple.com
Fri Apr 5 13:05:30 PDT 2013


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.

John.



More information about the cfe-commits mailing list