Add CommonLinkage.
authorDale Johannesen <dalej@apple.com>
Fri, 16 May 2008 22:42:11 +0000 (22:42 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 16 May 2008 22:42:11 +0000 (22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51208 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/LinkTimeOptimizer.h

index de48aa7f2eaa01ebd7075aa495fc94efc76b8937..eea0093e80f7caa3ec8a397400d465fdea12b27f 100644 (file)
@@ -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 {