mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-29 08:09:02 +02:00
Did a lot of smaller cleans up here and there. Replaced more llvm::Foo with LLFoo for common stuff. Split up tollvm.cpp.
28 lines
899 B
C
28 lines
899 B
C
#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
|
|
|
|
|