[PATCH] Emit aliases for extern "C" internal linkage declarations
Richard Smith
richard at metafoo.co.uk
Thu Apr 4 19:15:08 PDT 2013
Hi,
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.
Thanks!
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130404/19a13694/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: internal-extern-c.diff
Type: application/octet-stream
Size: 6388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130404/19a13694/attachment.obj>
More information about the cfe-commits
mailing list