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

John McCall rjmccall at apple.com
Mon Feb 25 16:23:51 PST 2013


On Feb 22, 2013, at 7:52 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 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.

Is the decision whether to mangle a symbol actually ABI-dependent?

John.



More information about the cfe-commits mailing list