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/thunks.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/thunks.cpp')
| -rw-r--r-- | test/CodeGenCXX/thunks.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/CodeGenCXX/thunks.cpp b/test/CodeGenCXX/thunks.cpp index defb70681d..89e4db3948 100644 --- a/test/CodeGenCXX/thunks.cpp +++ b/test/CodeGenCXX/thunks.cpp @@ -1,6 +1,5 @@ // RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -emit-llvm -o - -O1 -disable-llvm-optzns | FileCheck %s -// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -munwind-tables -fhidden-weak-vtables -emit-llvm -o - | FileCheck -check-prefix=CHECK-HIDDEN %s namespace Test1 { @@ -251,9 +250,7 @@ namespace Test10 { struct B { virtual void foo(); }; struct C : A, B { void foo() {} }; - // CHECK-HIDDEN-LABEL: define linkonce_odr void @_ZN6Test101C3fooEv - // CHECK-HIDDEN-LABEL: define linkonce_odr hidden void @_ZThn8_N6Test101C3fooEv - + // Test later. void test() { C c; } @@ -366,6 +363,10 @@ namespace Test15 { /**** The following has to go at the end of the file ****/ +// This is from Test10: +// CHECK-LABEL: define linkonce_odr void @_ZN6Test101C3fooEv +// CHECK-LABEL: define linkonce_odr void @_ZThn8_N6Test101C3fooEv + // This is from Test5: // CHECK-LABEL: define linkonce_odr void @_ZTv0_n24_N5Test51B1fEv // CHECK-LABEL: define internal void @_ZThn8_N6Test4B12_GLOBAL__N_11C1fEv( |
