comparison 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
comparison
equal deleted inserted replaced
1641:00cd99bedf06 1642:f49cb50c6064
1 #ifndef LDC_GEN_LINKAGE_H 1 #ifndef LDC_GEN_LINKAGE_H
2 #define LDC_GEN_LINKAGE_H 2 #define LDC_GEN_LINKAGE_H
3 3
4 // Make it easier to test new linkage types 4 // Make it easier to test new linkage types
5 5
6 # define TEMPLATE_LINKAGE_TYPE llvm::GlobalValue::LinkOnceODRLinkage 6 # define TEMPLATE_LINKAGE_TYPE llvm::GlobalValue::WeakODRLinkage
7 # define TYPEINFO_LINKAGE_TYPE llvm::GlobalValue::LinkOnceODRLinkage 7 # define TYPEINFO_LINKAGE_TYPE llvm::GlobalValue::LinkOnceODRLinkage
8 // The One-Definition-Rule shouldn't matter for debug info, right? 8 // The One-Definition-Rule shouldn't matter for debug info, right?
9 # define DEBUGINFO_LINKONCE_LINKAGE_TYPE \ 9 # define DEBUGINFO_LINKONCE_LINKAGE_TYPE \
10 llvm::GlobalValue::LinkOnceAnyLinkage 10 llvm::GlobalValue::LinkOnceAnyLinkage
11 11