Mercurial > projects > ldc
diff gen/linkage.h @ 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 | a6a839bcc18a |
children | 9176437d98be |
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 \