diff options
author | John McCall <rjmccall@apple.com> | 2010-08-12 23:36:15 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-12 23:36:15 +0000 |
commit | b3732bb3b76a4e12212f5e672ab281bd96ff906d (patch) | |
tree | 11485047f9cec4b171682dd3be091f5b2f4c8327 /clang/test/CodeGenCXX/key-function-vtable.cpp | |
parent | 0e93f017e5fecf01b207a60cc94964ffbe525348 (diff) | |
download | bcm5719-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/key-function-vtable.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/key-function-vtable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/key-function-vtable.cpp b/clang/test/CodeGenCXX/key-function-vtable.cpp index e71fba692f8..15c058da946 100644 --- a/clang/test/CodeGenCXX/key-function-vtable.cpp +++ b/clang/test/CodeGenCXX/key-function-vtable.cpp @@ -47,5 +47,5 @@ void use_X1(X1 *x1) { x1->f(); } // CHECK: @_ZTV5testa = constant [3 x i8*] [i8* null // CHECK: @_ZTV5testc = weak_odr constant [3 x i8*] [i8* null // CHECK: @_ZTVN12_GLOBAL__N_15testgE = internal constant [3 x i8*] [i8* null -// CHECK: @_ZTV5teste = weak_odr hidden constant [3 x i8*] [i8* null -// CHECK: @_ZTV5testb = weak_odr hidden constant [3 x i8*] [i8* null +// CHECK: @_ZTV5teste = weak_odr constant [3 x i8*] [i8* null +// CHECK: @_ZTV5testb = weak_odr constant [3 x i8*] [i8* null |