[libcxx] r196411 - Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases.

Duncan P. N. Exon Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 16:20:58 PST 2016


> On 2016-Jan-11, at 15:57, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 
>> I'm not sure about GCC.  Note that there is no linkage for -frtti,
>> since the type info is deferred to the TU with the vtable.
> 
> Yes, that is what I mean. It is odd that -frtti changes us from "this
> is not available anywhere, use linkonce_odr" to "it is available
> elsewhere, use an external declaration".

Yes, I agree, it's weird (although the transition is in the other
direction, really, since there's no such flag as -frtti, just -fno-rtti).
-fexceptions -fno-rtti is a weird combination to begin with though.


More information about the cfe-commits mailing list