aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/vtable-key-function.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-01-24 00:46:19 +0000
committerAnders Carlsson <andersca@mac.com>2011-01-24 00:46:19 +0000
commitf502d93b0ea970bfbd897e657f8d940a20984de2 (patch)
tree7c33da35e9c49d7ed029844fe3ee9bb512783f66 /test/CodeGenCXX/vtable-key-function.cpp
parent15e14a289583616e582a23b320933e846a742626 (diff)
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
Diffstat (limited to 'test/CodeGenCXX/vtable-key-function.cpp')
-rw-r--r--test/CodeGenCXX/vtable-key-function.cpp2
1 files changed, 1 insertions, 1 deletions
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) { }
}