diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-12 04:49:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-12 04:49:06 +0000 |
commit | ee3f72299ca53c40154890c79fa1afde82ea8fd1 (patch) | |
tree | 1fb712ea10f6510117f595b8434b29ca2dd7832c /clang/lib/CodeGen/CodeGenModule.h | |
parent | b8b94668b6598f3a466769bfe9e1eb49bf6a3751 (diff) | |
download | bcm5719-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.h | 3 |
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 |