]> granicus.if.org Git - clang/commit
Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of...
authorAnders Carlsson <andersca@mac.com>
Mon, 24 Jan 2011 00:46:19 +0000 (00:46 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 24 Jan 2011 00:46:19 +0000 (00:46 +0000)
commitf502d93b0ea970bfbd897e657f8d940a20984de2
tree7c33da35e9c49d7ed029844fe3ee9bb512783f66
parent15e14a289583616e582a23b320933e846a742626
Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr.

This fixes PR6996.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124089 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/CodeGen/CGRTTI.cpp
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/exceptions-no-rtti.cpp
test/CodeGenCXX/key-function-vtable.cpp
test/CodeGenCXX/mangle-subst-std.cpp
test/CodeGenCXX/rtti-linkage.cpp
test/CodeGenCXX/virt-template-vtable.cpp
test/CodeGenCXX/visibility.cpp
test/CodeGenCXX/vtable-key-function.cpp
test/CodeGenCXX/vtable-linkage.cpp
test/CodeGenCXX/vtt-layout.cpp
test/CodeGenObjCXX/rtti.mm
test/SemaCXX/typeid-ref.cpp