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/vtable-linkage.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/vtable-linkage.cpp')
| -rw-r--r-- | test/CodeGenCXX/vtable-linkage.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/CodeGenCXX/vtable-linkage.cpp b/test/CodeGenCXX/vtable-linkage.cpp index c17e33387e..dc2ce261ad 100644 --- a/test/CodeGenCXX/vtable-linkage.cpp +++ b/test/CodeGenCXX/vtable-linkage.cpp @@ -1,8 +1,6 @@ // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o %t -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -fhidden-weak-vtables -emit-llvm -o %t.hidden // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -disable-llvm-optzns -O3 -emit-llvm -o %t.opt // RUN: FileCheck --check-prefix=CHECK %s < %t -// RUN: FileCheck --check-prefix=CHECK-HIDDEN %s < %t.hidden // RUN: FileCheck --check-prefix=CHECK-OPT %s < %t.opt namespace { @@ -95,10 +93,6 @@ void use_F() { // CHECK-DAG: @_ZTS1C = linkonce_odr constant // CHECK-DAG: @_ZTI1C = linkonce_odr unnamed_addr constant // CHECK-DAG: @_ZTT1C = linkonce_odr unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTV1C = linkonce_odr hidden unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTS1C = linkonce_odr constant -// CHECK-HIDDEN-DAG: @_ZTI1C = linkonce_odr hidden unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTT1C = linkonce_odr hidden unnamed_addr constant // D has a key function that is defined in this translation unit so its vtable is // defined in the translation unit. @@ -119,18 +113,12 @@ void use_F() { // CHECK-DAG: @_ZTV1EIsE = weak_odr unnamed_addr constant // CHECK-DAG: @_ZTS1EIsE = weak_odr constant // CHECK-DAG: @_ZTI1EIsE = weak_odr unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTV1EIsE = weak_odr unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTS1EIsE = weak_odr constant -// CHECK-HIDDEN-DAG: @_ZTI1EIsE = weak_odr unnamed_addr constant // F<short> is an explicit template instantiation without a key // function, so its vtable should have weak_odr linkage // CHECK-DAG: @_ZTV1FIsE = weak_odr unnamed_addr constant // CHECK-DAG: @_ZTS1FIsE = weak_odr constant // CHECK-DAG: @_ZTI1FIsE = weak_odr unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTV1FIsE = weak_odr unnamed_addr constant -// CHECK-HIDDEN-DAG: @_ZTS1FIsE = weak_odr constant -// CHECK-HIDDEN-DAG: @_ZTI1FIsE = weak_odr unnamed_addr constant // E<long> is an implicit template instantiation with a key function // defined in this translation unit, so its vtable should have |
