[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.
Robinson, Paul via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 11 17:43:05 PST 2016
> -----Original Message-----
> From: cfe-commits [mailto:cfe-commits-bounces at lists.llvm.org] On Behalf Of
> Duncan P. N. Exon Smith via cfe-commits
> Sent: Monday, January 11, 2016 4:21 PM
> To: Rafael Espíndola
> Cc: Marshall Clow; CFE Commits
> Subject: Re: [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.
> > On 2016-Jan-11, at 15:57, Rafael Espíndola <rafael.espindola at gmail.com>
> >> 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).
Actually there is -frtti, it's just not defined next to -fno-rtti in
Options.td for some reason.
> -fexceptions -fno-rtti is a weird combination to begin with though.
Yup. So weird that PS4 goes to the trouble of forbidding it... that
doesn't help here, unfortunately.
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
More information about the cfe-commits