Mercurial > projects > ldc
view gen/todebug.h @ 182:6526cf5bb2be trunk
[svn r198] Fixed: doing a length-changing cast of a full slice segfaulted. eg:
int[] ia = [1,2,3];
byte[] ba = cast(byte[])ia[];
author | lindquist |
---|---|
date | Wed, 07 May 2008 19:54:01 +0200 |
parents | 0ab29b838084 |
children | a95056b3c996 |
line wrap: on
line source
#ifndef LLVMDC_GEN_TODEBUG_H #define LLVMDC_GEN_TODEBUG_H void RegisterDwarfSymbols(llvm::Module* mod); const llvm::StructType* GetDwarfAnchorType(); const llvm::StructType* GetDwarfCompileUnitType(); const llvm::StructType* GetDwarfSubProgramType(); llvm::GlobalVariable* DtoDwarfCompileUnit(Module* m); llvm::GlobalVariable* DtoDwarfSubProgram(FuncDeclaration* fd, llvm::GlobalVariable* compileUnit); void DtoDwarfFuncStart(FuncDeclaration* fd); void DtoDwarfFuncEnd(FuncDeclaration* fd); void DtoDwarfStopPoint(unsigned ln); #endif // LLVMDC_GEN_TODEBUG_H