]> granicus.if.org Git - clang/commit
Fix another regression from the "skip vtable pointer initialization"
authorAnders Carlsson <andersca@mac.com>
Mon, 16 May 2011 04:08:36 +0000 (04:08 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 16 May 2011 04:08:36 +0000 (04:08 +0000)
commite3d6cf2149beb1c215ea6e87023c27b4f37712ad
tree8dac9c1cbee436b7aff5d567a3aae0d32869d6e3
parentcb63e07c588dc7030f3f41812dea73f3571e449a
Fix another regression from the "skip vtable pointer initialization"
optimization. Make sure to require a vtable when trying to get the address
of a VTT, otherwise we would never end up emitting the VTT.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGVTT.cpp
lib/CodeGen/CGVTables.cpp
test/CodeGenCXX/mangle-subst-std.cpp
test/CodeGenCXX/skip-vtable-pointer-initialization.cpp
test/CodeGenCXX/virtual-base-destructor-call.cpp