diff options
author | Anders Carlsson <andersca@mac.com> | 2011-01-24 00:46:19 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-01-24 00:46:19 +0000 |
commit | 571e2ad0429fee7f214361276f502a54b4c5f891 (patch) | |
tree | c4857124518803129cea144822e40553f0a44e1c /clang/test/CodeGenCXX/vtable-key-function.cpp | |
parent | a960725d18fd8686c517aecf25584a3c5a4da9d6 (diff) | |
download | bcm5719-llvm-571e2ad0429fee7f214361276f502a54b4c5f891.tar.gz bcm5719-llvm-571e2ad0429fee7f214361276f502a54b4c5f891.zip |
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.
llvm-svn: 124089
Diffstat (limited to 'clang/test/CodeGenCXX/vtable-key-function.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/vtable-key-function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/vtable-key-function.cpp b/clang/test/CodeGenCXX/vtable-key-function.cpp index a9e4513b164..bf2e6798d21 100644 --- a/clang/test/CodeGenCXX/vtable-key-function.cpp +++ b/clang/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) { } } |