]> granicus.if.org Git - clang/commit
Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which...
authorAnders Carlsson <andersca@mac.com>
Fri, 11 Dec 2009 02:46:30 +0000 (02:46 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 11 Dec 2009 02:46:30 +0000 (02:46 +0000)
commit31b7f52d8c8d459e80d2a72176cc7fcc4b7d8d38
treea4499131a47c5cfddfef1e0704e4b5e51f1e8dbc
parent03981014e4f0c3b4e935872dda96a28c2f1874ea
Improve linkage of RTTI data structures. Introduce CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGRTTI.cpp
lib/CodeGen/CGVtable.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGenCXX/rtti.cpp
test/CodeGenCXX/virt-dtor-key.cpp
test/CodeGenCXX/vtable-linkage.cpp