From f502d93b0ea970bfbd897e657f8d940a20984de2 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 24 Jan 2011 00:46:19 +0000 Subject: 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 --- test/CodeGenCXX/vtable-key-function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGenCXX/vtable-key-function.cpp') diff --git a/test/CodeGenCXX/vtable-key-function.cpp b/test/CodeGenCXX/vtable-key-function.cpp index a9e4513b16..bf2e6798d2 100644 --- a/test/CodeGenCXX/vtable-key-function.cpp +++ b/test/CodeGenCXX/vtable-key-function.cpp @@ -9,7 +9,7 @@ struct A { // A does not have a key function, so the first constructor we emit should // cause the vtable to be defined (without assertions.) -// CHECK: @_ZTVN6PR56971AE = weak_odr unnamed_addr constant +// CHECK: @_ZTVN6PR56971AE = linkonce_odr unnamed_addr constant A::A() { } A::A(int) { } } -- cgit v1.2.3-70-g09d2