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 | 8f80a61914f9b26bcc5b218331fb2179418f7889 (patch) | |
tree | 2bc390151610c494bf02a982af51e731c28615bb /clang/lib/CodeGen/MicrosoftCXXABI.cpp | |
parent | c444b5779029188a2b833a86e3c7712afc085845 (diff) | |
download | bcm5719-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/MicrosoftCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/MicrosoftCXXABI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/MicrosoftCXXABI.cpp b/clang/lib/CodeGen/MicrosoftCXXABI.cpp index 013ae74dd22..d8c7d6ee5ab 100644 --- a/clang/lib/CodeGen/MicrosoftCXXABI.cpp +++ b/clang/lib/CodeGen/MicrosoftCXXABI.cpp @@ -843,7 +843,7 @@ void MicrosoftCXXABI::emitVTableDefinitions(CodeGenVTables &CGVT, VTable->setInitializer(Init); VTable->setLinkage(Linkage); - CGM.setTypeVisibility(VTable, RD, CodeGenModule::TVK_ForVTable); + CGM.setGlobalVisibility(VTable, RD); } } @@ -1117,7 +1117,7 @@ void MicrosoftCXXABI::emitVBTableDefinition(const VBTableInfo &VBT, GV->setInitializer(Init); // Set the right visibility. - CGM.setTypeVisibility(GV, RD, CodeGenModule::TVK_ForVTable); + CGM.setGlobalVisibility(GV, RD); } llvm::Value *MicrosoftCXXABI::performThisAdjustment(CodeGenFunction &CGF, |