changeset 1642:f49cb50c6064

Revert 1637 because it breaks HelloWorld with Tangos Stdout. There may be another way to fix this so that Deewiants case works, as well as Tango.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Mon, 08 Mar 2010 23:10:26 -0700
parents 00cd99bedf06
children 8f121883bce8
files gen/linkage.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/linkage.h	Mon Mar 08 17:41:36 2010 -0700
+++ b/gen/linkage.h	Mon Mar 08 23:10:26 2010 -0700
@@ -3,7 +3,7 @@
 
 // Make it easier to test new linkage types
 
-#  define TEMPLATE_LINKAGE_TYPE         llvm::GlobalValue::LinkOnceODRLinkage
+#  define TEMPLATE_LINKAGE_TYPE         llvm::GlobalValue::WeakODRLinkage
 #  define TYPEINFO_LINKAGE_TYPE         llvm::GlobalValue::LinkOnceODRLinkage
 // The One-Definition-Rule shouldn't matter for debug info, right?
 #  define DEBUGINFO_LINKONCE_LINKAGE_TYPE \