summaryrefslogtreecommitdiffstats
path: root/clang/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
commitee3f72299ca53c40154890c79fa1afde82ea8fd1 (patch)
tree1fb712ea10f6510117f595b8434b29ca2dd7832c /clang/lib/CodeGen/CodeGenModule.h
parentb8b94668b6598f3a466769bfe9e1eb49bf6a3751 (diff)
downloadbcm5719-llvm-ee3f72299ca53c40154890c79fa1afde82ea8fd1.tar.gz
bcm5719-llvm-ee3f72299ca53c40154890c79fa1afde82ea8fd1.zip
Give explicit template instantiations weak linkage (but don't defer
them). Fixes PR6578. llvm-svn: 98328
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 40dc5638898..9077adedd0b 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -437,7 +437,8 @@ public:
GVA_C99Inline,
GVA_CXXInline,
GVA_StrongExternal,
- GVA_TemplateInstantiation
+ GVA_TemplateInstantiation,
+ GVA_ExplicitTemplateInstantiation
};
llvm::GlobalVariable::LinkageTypes
OpenPOWER on IntegriCloud