[cfe-commits] r81587 - in /cfe/trunk: lib/CodeGen/CGCXX.cpp test/CodeGenCXX/vtable-cast-crash.cpp

Mike Stump mrs at apple.com
Sat Sep 12 12:12:20 PDT 2009


On Sep 11, 2009, at 5:00 PM, Anders Carlsson wrote:
> Author: andersca
> Date: Fri Sep 11 19:00:29 2009
> New Revision: 81587
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81587&view=rev
> Log:
> Fix a crash when generating vtables that contain destructors.

Cool, thanks.  I think the mangle code:

     // FIXME: Hum, we might have to thunk these, fix.
     assert(!isa<CXXDestructorDecl>(FD) &&
            "Use mangleCXXDtor for destructor decls!");

(from Mangle.cpp) would be the last bit (specific to dtors) that might  
prevent complex things from working.



More information about the cfe-commits mailing list