Mercurial > projects > ldc
view gen/linkage.h @ 1347:3647bef175d7
Remove some other code that tested for LLVM before r67588.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Tue, 12 May 2009 16:02:51 +0200 |
parents | 123812e02bc8 |
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