summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-01 17:09:14 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-01 17:09:14 +0000
commit716e7405d30377e8890bc02259d9059ab62bf61c (patch)
tree6079fbf6e7667be1c58db4a4ce6287f383ac076c /llvm/lib/Bitcode/Reader
parent5dc6cff06aa5fa01d841c58950e5b281eefc05bc (diff)
downloadbcm5719-llvm-716e7405d30377e8890bc02259d9059ab62bf61c.tar.gz
bcm5719-llvm-716e7405d30377e8890bc02259d9059ab62bf61c.zip
Remove linkonce_odr_auto_hide.
linkonce_odr_auto_hide was in incomplete attempt to implement a way for the linker to hide symbols that are known to be available in every TU and whose addresses are not relevant for a particular DSO. It was redundant in that it all its uses are equivalent to linkonce_odr+unnamed_addr. Unlike those, it has never been connected to clang or llvm's optimizers, so it was effectively dead. Given that nothing produces it, this patch just nukes it (other than the llvm-c enum value). llvm-svn: 193865
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 1661990f065..2a2f96cd1d3 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -90,7 +90,6 @@ static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) {
case 12: return GlobalValue::AvailableExternallyLinkage;
case 13: return GlobalValue::LinkerPrivateLinkage;
case 14: return GlobalValue::LinkerPrivateWeakLinkage;
- case 15: return GlobalValue::LinkOnceODRAutoHideLinkage;
}
}
OpenPOWER on IntegriCloud