summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/vtable-available-externally.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2014-02-08 03:26:05 +0000
committerJohn McCall <rjmccall@apple.com>2014-02-08 03:26:05 +0000
commit57420b320cd989b49e6a458b129b3262834ad589 (patch)
treefeb8a523ecdae34b8c09cfecd276abcc8520e7b5 /clang/test/CodeGenCXX/vtable-available-externally.cpp
parent42063b0b1cc6dfb91fca302ac1a1e3432287ba32 (diff)
downloadbcm5719-llvm-57420b320cd989b49e6a458b129b3262834ad589.tar.gz
bcm5719-llvm-57420b320cd989b49e6a458b129b3262834ad589.zip
type_info objects are not unnamed_addr: the ABI requires us to
unique them and permits the implementation of dynamic_cast (and anything else which knows it's working with a complete class type) to compare their addresses directly. rdar://16005328 llvm-svn: 201020
Diffstat (limited to 'clang/test/CodeGenCXX/vtable-available-externally.cpp')
-rw-r--r--clang/test/CodeGenCXX/vtable-available-externally.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/vtable-available-externally.cpp b/clang/test/CodeGenCXX/vtable-available-externally.cpp
index 282bd2a172a..e07d48463f4 100644
--- a/clang/test/CodeGenCXX/vtable-available-externally.cpp
+++ b/clang/test/CodeGenCXX/vtable-available-externally.cpp
@@ -35,7 +35,7 @@ void g() {
// updated correctly.
// CHECK-TEST2: @_ZTSN5Test21AE = constant
-// CHECK-TEST2: @_ZTIN5Test21AE = unnamed_addr constant
+// CHECK-TEST2: @_ZTIN5Test21AE = constant
// CHECK-TEST2: @_ZTVN5Test21AE = unnamed_addr constant
namespace Test2 {
struct A {
OpenPOWER on IntegriCloud