summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/vtable-key-function.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-12 23:36:15 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-12 23:36:15 +0000
commitb3732bb3b76a4e12212f5e672ab281bd96ff906d (patch)
tree11485047f9cec4b171682dd3be091f5b2f4c8327 /clang/test/CodeGenCXX/vtable-key-function.cpp
parent0e93f017e5fecf01b207a60cc94964ffbe525348 (diff)
downloadbcm5719-llvm-b3732bb3b76a4e12212f5e672ab281bd96ff906d.tar.gz
bcm5719-llvm-b3732bb3b76a4e12212f5e672ab281bd96ff906d.zip
Just disable the hidden-visibility optimization for now by hiding it behind
a -cc1 option. The Darwin linker complains about mixed visibility when linking gcc-built objects with clang-built objects, and the optimization isn't really that valuable. Platforms with less ornery linkers can feel free to enable this. llvm-svn: 110979
Diffstat (limited to 'clang/test/CodeGenCXX/vtable-key-function.cpp')
-rw-r--r--clang/test/CodeGenCXX/vtable-key-function.cpp2
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 bdcab230c6f..97a546f8c93 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 hidden constant
+// CHECK: @_ZTVN6PR56971AE = weak_odr constant
A::A() { }
A::A(int) { }
}
OpenPOWER on IntegriCloud