Remove linkonce_odr_auto_hide.
[oota-llvm.git] / lib / LTO / LTOModule.cpp
index 91240aa5a0010d082c0fd6dd5191d3e49206900c..65416bed92773f4e5b156815cd47c5336bf0ed69 100644 (file)
@@ -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;