Mercurial > projects > ldc
view gen/enums.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 | 521dd1626d76 |
children | d9c5f5a43403 |
line wrap: on
line source
enum { LLVMnone, LLVMintrinsic, LLVMno_typeinfo, LLVMno_moduleinfo, LLVMalloca, LLVMva_start, LLVMva_copy, LLVMva_end, LLVMva_arg, LLVMldc, LLVMinline_asm };