summaryrefslogtreecommitdiffstats
path: root/clang/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
commit8f80a61914f9b26bcc5b218331fb2179418f7889 (patch)
tree2bc390151610c494bf02a982af51e731c28615bb /clang/lib/CodeGen/CGVTT.cpp
parentc444b5779029188a2b833a86e3c7712afc085845 (diff)
downloadbcm5719-llvm-8f80a61914f9b26bcc5b218331fb2179418f7889.tar.gz
bcm5719-llvm-8f80a61914f9b26bcc5b218331fb2179418f7889.zip
Remove the -fhidden-weak-vtables -cc1 option. It was dead,
gross, and increasingly replaced through other mechanisms. llvm-svn: 201011
Diffstat (limited to 'clang/lib/CodeGen/CGVTT.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVTT.cpp b/clang/lib/CodeGen/CGVTT.cpp
index bca5f29d946..bd280ea14e8 100644
--- a/clang/lib/CodeGen/CGVTT.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud