Mercurial > projects > ldc
view gen/abi-x86-64.h @ 1287:6c8af78364f5
There's an issue with LLVM metadata support; it triggers an assert when trying
to generate asm for code with metadata globals.
This new pass is used as a workaround: it strips metadata from the module before
it reaches the code generator.
Obviously, this is disabled if LLVM doesn't support metadata.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 02 May 2009 12:19:43 +0200 |
parents | 6bb04dbee21f |
children |
line wrap: on
line source
#ifndef __LDC_GEN_ABI_X86_64_H__ #define __LDC_GEN_ABI_X86_64_H__ #include "gen/abi.h" TargetABI* getX86_64TargetABI(); #endif