[PATCH] D22034: [MSVC][DLL] use local vftable mangling only exported classes with virtual destructor

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 6 07:28:26 PDT 2016


rnk added a comment.

In http://reviews.llvm.org/D22034#474889, @majnemer wrote:

> Hmm, I'm not so sure this will work with constexpr:
>  ...


Hah, my version of MSVC fails to install the vtable into 's', and crashes on the call to x.fn().


http://reviews.llvm.org/D22034





More information about the cfe-commits mailing list