[cfe-commits] r161236 - in /cfe/trunk: lib/AST/RecordLayoutBuilder.cpp test/CodeGenCXX/cxx11-vtable-key-function.cpp
John McCall
rjmccall at apple.com
Sun Aug 19 15:00:40 PDT 2012
On Aug 3, 2012, at 1:39 AM, Benjamin Kramer wrote:
> Author: d0k
> Date: Fri Aug 3 03:39:58 2012
> New Revision: 161236
>
> URL: http://llvm.org/viewvc/llvm-project?rev=161236&view=rev
> Log:
> Fix failed to generate vtables in certain cases.
>
> By C++ standard, the vtable should be generated if the first non-inline
> virtual function is defined in the TU. Current version of clang doesn't
> generate vtable if the first virtual function is defaulted, because the
> key function is regarded as the defaulted function.
Would you mind sending a message for this to cxa-abi-dev? That's
the closest we have to a bug tracker, and eventually this should make
it into the document. (I'm assuming it isn't there now.)
John.
More information about the cfe-commits
mailing list