Mercurial > projects > ldc
diff 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 diff
--- a/gen/todebug.h Mon Jun 09 03:02:14 2008 +0200 +++ b/gen/todebug.h Mon Jun 09 09:37:08 2008 +0200 @@ -15,6 +15,13 @@ 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