From c9b0aa788f837673cd5c28331dd464909dd72560 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 16 May 2008 22:42:11 +0000 Subject: [PATCH] Add CommonLinkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51208 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/LinkTimeOptimizer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/LinkTimeOptimizer.h b/include/llvm/LinkTimeOptimizer.h index de48aa7f2ea..eea0093e80f 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 { -- 2.34.1