aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-05-16 22:42:11 +0000
committerDale Johannesen <dalej@apple.com>2008-05-16 22:42:11 +0000
commitc9b0aa788f837673cd5c28331dd464909dd72560 (patch)
treeabdc88049cfed54578136f6780b5888230bf7607
parent6796629611a07bdc9d6bb79ca1cf6cae78325411 (diff)
downloadexternal_llvm-c9b0aa788f837673cd5c28331dd464909dd72560.zip
external_llvm-c9b0aa788f837673cd5c28331dd464909dd72560.tar.gz
external_llvm-c9b0aa788f837673cd5c28331dd464909dd72560.tar.bz2
Add CommonLinkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51208 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/LinkTimeOptimizer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/LinkTimeOptimizer.h b/include/llvm/LinkTimeOptimizer.h
index de48aa7..eea0093 100644
--- a/include/llvm/LinkTimeOptimizer.h
+++ b/include/llvm/LinkTimeOptimizer.h
@@ -45,7 +45,8 @@ namespace llvm {
LTOExternalLinkage, // Externally visible function
LTOLinkOnceLinkage, // Keep one copy of named function when linking (inline)
LTOWeakLinkage, // Keep one copy of named function when linking (weak)
- LTOInternalLinkage // Rename collisions when linking (static functions)
+ LTOInternalLinkage, // Rename collisions when linking (static functions)
+ LTOCommonLinkage // tentative definitions (usually equivalent to weak)
};
enum LTOVisibilityTypes {