aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
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
commit19794da02cc48a772ae6f4756b14b111a627170e (patch)
tree9dda635ddcf69fa502bf5dc3e1c8ab9f862d589f /include/llvm-c
parent307cfaeaf0bc629357725fb0c471e45319d48ff1 (diff)
downloadexternal_llvm-19794da02cc48a772ae6f4756b14b111a627170e.zip
external_llvm-19794da02cc48a772ae6f4756b14b111a627170e.tar.gz
external_llvm-19794da02cc48a772ae6f4756b14b111a627170e.tar.bz2
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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 004492b..690ffa9 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -274,7 +274,7 @@ typedef enum {
LLVMLinkOnceAnyLinkage, /**< Keep one copy of function when linking (inline)*/
LLVMLinkOnceODRLinkage, /**< Same, but only replaced by something
equivalent. */
- LLVMLinkOnceODRAutoHideLinkage, /**< Like LinkOnceODR, but possibly hidden. */
+ LLVMLinkOnceODRAutoHideLinkage, /**< Obsolete */
LLVMWeakAnyLinkage, /**< Keep one copy of function when linking (weak) */
LLVMWeakODRLinkage, /**< Same, but only replaced by something
equivalent. */