mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 13:53:14 +01:00
Change template linkage from weak_odr to linkonce_odr. Much better, fixes #363.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user