projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove linkonce_odr_auto_hide.
[oota-llvm.git]
/
lib
/
LTO
/
LTOModule.cpp
diff --git
a/lib/LTO/LTOModule.cpp
b/lib/LTO/LTOModule.cpp
index 91240aa5a0010d082c0fd6dd5191d3e49206900c..65416bed92773f4e5b156815cd47c5336bf0ed69 100644
(file)
--- 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;