Mercurial > projects > ldc
view gen/todebug.h @ 244:a95056b3c996 trunk
[svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB.
Did a lot of smaller cleans up here and there.
Replaced more llvm::Foo with LLFoo for common stuff.
Split up tollvm.cpp.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 09:37:08 +0200 |
parents | 0ab29b838084 |
children | d61ce72c39ab |
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); const llvm::StructType* GetDwarfBasicTypeType(); LLGlobalVariable* DtoDwarfBasicType(Type* type, llvm::GlobalVariable* compileUnit); const llvm::StructType* GetDwarfVariableType(); LLGlobalVariable* DtoDwarfVariable(VarDeclaration* vd, LLGlobalVariable* typeDescr); void DtoDwarfDeclare(LLValue* var, LLGlobalVariable* varDescr); #endif // LLVMDC_GEN_TODEBUG_H