summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVTT.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2014-02-08 00:41:16 +0000
committerJohn McCall <rjmccall@apple.com>2014-02-08 00:41:16 +0000
commitec0ca13fc0cbec5984df5836f2c7384daec0bbea (patch)
tree61102fcda024a232a3eff461cc6558086457772b /lib/CodeGen/CGVTT.cpp
parentb7f8c7a32c4b630a4f7fe73a5418b30831651323 (diff)
downloadclang-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 'lib/CodeGen/CGVTT.cpp')
-rw-r--r--lib/CodeGen/CGVTT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVTT.cpp b/lib/CodeGen/CGVTT.cpp
index bca5f29d94..bd280ea14e 100644
--- a/lib/CodeGen/CGVTT.cpp
+++ b/lib/CodeGen/CGVTT.cpp
@@ -95,7 +95,7 @@ CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
VTT->setLinkage(Linkage);
// Set the right visibility.
- CGM.setTypeVisibility(VTT, RD, CodeGenModule::TVK_ForVTT);
+ CGM.setGlobalVisibility(VTT, RD);
}
llvm::GlobalVariable *CodeGenVTables::GetAddrOfVTT(const CXXRecordDecl *RD) {