[patch][pr14974] Change what #pragma weak matches

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Feb 22 19:52:21 PST 2013


Gcc applies a pragma weak to a decl if it matches the mangled name. So
far clang applies it if matches the "plain" name. This patches tries
to be a compromise. We don't expose the mangling itself, but we only
check for matches in decls that are not mangled.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 4931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130222/7ffcc4c6/attachment.obj>


More information about the cfe-commits mailing list