Change template linkage from weak_odr to linkonce_odr. Much better, fixes #363.

This commit is contained in:
Matti Niemenmaa
2010-03-08 19:05:12 +02:00
parent ae32163f34
commit 8e696809b3

View File

@@ -3,7 +3,7 @@
// Make it easier to test new linkage types
# define TEMPLATE_LINKAGE_TYPE llvm::GlobalValue::WeakODRLinkage
# define TEMPLATE_LINKAGE_TYPE llvm::GlobalValue::LinkOnceODRLinkage
# define TYPEINFO_LINKAGE_TYPE llvm::GlobalValue::LinkOnceODRLinkage
// The One-Definition-Rule shouldn't matter for debug info, right?
# define DEBUGINFO_LINKONCE_LINKAGE_TYPE \