view gen/linkage.h @ 1398:f3d7451cfa5b

remove extra 'test' instructions and fix 'test' properly
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Tue, 19 May 2009 12:28:44 -0600
parents 3647bef175d7
children 11b122f92136
line wrap: on
line source

#ifndef LDC_GEN_LINKAGE_H
#define LDC_GEN_LINKAGE_H

// Make it easier to test new linkage types

#  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 \
                                        llvm::GlobalValue::LinkOnceAnyLinkage


#endif