r244488 - [dllimport] A non-imported class with an imported key can't have a key

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 09:45:41 PDT 2015


Yeah, let's do that.

On Tue, Aug 11, 2015 at 9:40 AM, Hans Wennborg <hans at chromium.org> wrote:

> On Mon, Aug 10, 2015 at 12:39 PM, Reid Kleckner via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
> > Author: rnk
> > Date: Mon Aug 10 14:39:01 2015
> > New Revision: 244488
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=244488&view=rev
> > Log:
> > [dllimport] A non-imported class with an imported key can't have a key
> >
> > Summary:
> > The vtable takes its DLL storage class from the class, not the key
> > function. When they disagree, the vtable won't be exported by the DLL
> > that defines the key function. The easiest way to ensure that importers
> > of the class emit their own vtable is to say that the class has no key
> > function.
> >
> > Reviewers: hans, majnemer
> >
> > Subscribers: cfe-commits
> >
> > Differential Revision: http://reviews.llvm.org/D11913
>
> Should we merge this and r244266 to 3.7?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150811/f1d4aa56/attachment.html>


More information about the cfe-commits mailing list