diff options
| author | John McCall <rjmccall@apple.com> | 2014-02-08 00:41:16 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2014-02-08 00:41:16 +0000 |
| commit | ec0ca13fc0cbec5984df5836f2c7384daec0bbea (patch) | |
| tree | 61102fcda024a232a3eff461cc6558086457772b /test/CodeGenCXX/rtti-visibility.cpp | |
| parent | b7f8c7a32c4b630a4f7fe73a5418b30831651323 (diff) | |
| download | clang-ec0ca13fc0cbec5984df5836f2c7384daec0bbea.tar.gz clang-ec0ca13fc0cbec5984df5836f2c7384daec0bbea.tar.bz2 clang-ec0ca13fc0cbec5984df5836f2c7384daec0bbea.tar.xz | |
Remove the -fhidden-weak-vtables -cc1 option. It was dead,
gross, and increasingly replaced through other mechanisms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/rtti-visibility.cpp')
| -rw-r--r-- | test/CodeGenCXX/rtti-visibility.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/CodeGenCXX/rtti-visibility.cpp b/test/CodeGenCXX/rtti-visibility.cpp index 40cee06194..c4b206bc05 100644 --- a/test/CodeGenCXX/rtti-visibility.cpp +++ b/test/CodeGenCXX/rtti-visibility.cpp @@ -1,8 +1,6 @@ // RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -o %t -// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -fhidden-weak-vtables -emit-llvm -o %t.hidden // RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t // RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t -// RUN: FileCheck --check-prefix=CHECK-TEST2-HIDDEN %s < %t.hidden #include <typeinfo> @@ -25,10 +23,6 @@ namespace Test2 { // CHECK-TEST2: @_ZTSN5Test21AE = linkonce_odr constant // CHECK-TEST2: @_ZTIN5Test21AE = linkonce_odr unnamed_addr constant struct A { }; - - // With -fhidden-weak-vtables, the typeinfo for A is marked hidden, but not its name. - // CHECK-TEST2-HIDDEN: _ZTSN5Test21AE = linkonce_odr constant - // CHECK-TEST2-HIDDEN: @_ZTIN5Test21AE = linkonce_odr hidden unnamed_addr constant void f() { (void)typeid(A); } |
