#ifndef _DEB_H #define _DEB_H // Local includes #include "Ast.h" #include "Lexer.h" using namespace llvm; namespace debugger { struct DebugObjects { public: static std::unique_ptr DBuilder; }; namespace { class PrototypeAST; class ExprAST; } struct DebugInfo { DICompileUnit *TheCU; DIType *DblTy; std::vector LexicalBlocks; void emitLocation(ExprAST *AST); DIType *getDoubleTy(); } KSDbgInfo; static DISubroutineType *CreateFunctionType(unsigned NumArgs, DIFile *Unit); } #endif