[cfe-commits] r124089 - in /cfe/trunk: 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

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Mon Jan 24 08:40:01 PST 2011


On 11-01-23 7:46 PM, Anders Carlsson wrote:
> Author: andersca
> Date: Sun Jan 23 18:46:19 2011
> New Revision: 124089
>
> URL: http://llvm.org/viewvc/llvm-project?rev=124089&view=rev
> Log:
> Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr.

I remember asking this before, but I cannot remember the answer. Is it 
valid for a program to have multiple explicit template instantiations 
with the same arguments? If not, we could use strong definitions for 
those vtables, no?

Cheers,
Rafael




More information about the cfe-commits mailing list