[cfe-commits] [patch] Template instantiation and visibility

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Apr 22 21:33:06 PDT 2012


> The most common cause of that error message is using
> -fvisibility=hidden or -fvisibility-inlines-hidden inconsistently
> across translation units.

Probably similar.

We don't merge correctly two or more types with visibility attributes
in template argument lists. This was not causing problems before, but
does as we start to mark more symbols hidden.

The attached patch fixes that too. The apple linker is happy at least
with the delta reduced testcase I had. I will leave a new build
running during the night.

> -Eli

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


More information about the cfe-commits mailing list