diff gen/todebug.h @ 82:d8dd47ef3973 trunk

[svn r86] Changed the way arguments are given storage. It is now detected if they will need it during semantic passes. Initial support for debug information. Very limited, but MUCH better than nothing :)
author lindquist
date Fri, 02 Nov 2007 01:17:26 +0100
parents
children 61615fa85940
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gen/todebug.h	Fri Nov 02 01:17:26 2007 +0100
@@ -0,0 +1,20 @@
+#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);
+
+void DtoDwarfFuncStart(FuncDeclaration* fd);
+void DtoDwarfFuncEnd(FuncDeclaration* fd);
+
+void DtoDwarfStopPoint(unsigned ln);
+
+#endif // LLVMDC_GEN_TODEBUG_H
+
+