aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-12 04:49:06 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-12 04:49:06 +0000
commite5e0c9deb1b4cfa081152cda548d31368facbc57 (patch)
tree9d56492d9869cdedcaaff27f5978ef3bdee8fa53 /lib/CodeGen/CodeGenModule.h
parent187ab37a05b8f7015b9f39cc8cd9129a0c6d0b48 (diff)
Give explicit template instantiations weak linkage (but don't defer
them). Fixes PR6578. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 40dc563889..9077adedd0 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -437,7 +437,8 @@ public:
GVA_C99Inline,
GVA_CXXInline,
GVA_StrongExternal,
- GVA_TemplateInstantiation
+ GVA_TemplateInstantiation,
+ GVA_ExplicitTemplateInstantiation
};
llvm::GlobalVariable::LinkageTypes