Displaying 1 result from an estimated 1 matches for "db_line".
Did you mean:
db_link
2015 Jan 04
3
[LLVMdev] Writing my own debugger... use __builtin_frame_address or is there something better?
...StackPointer(1); // "DB_" means its a function for debugging the code
// So we save the current stack pointer to a global variable
// and tell the debugger that we are on line 1 of the current file's source code.
int N = 0;
DB_Line(2); // Tell the debugger that we have advanced to line 2 of our source code.
Type2* Curr = GetFirst(P);
DB_Line(3);
while (Curr) {
DB_Line(4);
Type3* Tmp = SubFunc(Curr, self, nil);
if (!Tmp) {
PrintError("Error");
ret...