diff options
Diffstat (limited to 'lib/LTO/LTOModule.cpp')
-rw-r--r-- | lib/LTO/LTOModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/LTO/LTOModule.cpp b/lib/LTO/LTOModule.cpp index 91240aa..65416be 100644 --- a/lib/LTO/LTOModule.cpp +++ b/lib/LTO/LTOModule.cpp @@ -339,9 +339,6 @@ void LTOModule::addDefinedFunctionSymbol(const Function *f) { static bool canBeHidden(const GlobalValue *GV) { GlobalValue::LinkageTypes L = GV->getLinkage(); - if (L == GlobalValue::LinkOnceODRAutoHideLinkage) - return true; - if (L != GlobalValue::LinkOnceODRLinkage) return false; |