Mercurial > projects > ldc
comparison gen/todebug.cpp @ 702:353d9d184091
changed uint to unsigned int, thanks Elrood
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 13 Oct 2008 21:08:11 +0200 |
parents | 8526cf626110 |
children | 72ee105be27b |
comparison
equal
deleted
inserted
replaced
701:855e0ef78fa2 | 702:353d9d184091 |
---|---|
147 return gv; | 147 return gv; |
148 } | 148 } |
149 | 149 |
150 ////////////////////////////////////////////////////////////////////////////////////////////////// | 150 ////////////////////////////////////////////////////////////////////////////////////////////////// |
151 | 151 |
152 static LLGlobalVariable* dwarfSubProgram(llvm::GlobalVariable* emitUnit, llvm::GlobalVariable* defineUnit, const char* prettyname, const char* mangledname, uint linenum, bool isprivate) | 152 static LLGlobalVariable* dwarfSubProgram(llvm::GlobalVariable* emitUnit, llvm::GlobalVariable* defineUnit, const char* prettyname, const char* mangledname, unsigned int linenum, bool isprivate) |
153 { | 153 { |
154 std::vector<LLConstant*> vals(11); | 154 std::vector<LLConstant*> vals(11); |
155 vals[0] = DBG_TAG(DW_TAG_subprogram); | 155 vals[0] = DBG_TAG(DW_TAG_subprogram); |
156 vals[1] = DBG_CAST(getDwarfAnchor(DW_TAG_subprogram)); | 156 vals[1] = DBG_CAST(getDwarfAnchor(DW_TAG_subprogram)); |
157 | 157 |