Never do last minute commits :-(
Unified · Split
| @@ -1742,8 +1742,8 @@ static void tcc_debug_funcstart(TCCState *s1, Sym *sym) · 1741 unmodified lines | |||
| 1742 | tcc_debug_stabn(s1, N_LBRAC, ind - func_ind); | 1742 | tcc_debug_stabn(s1, N_LBRAC, ind - func_ind); |
| 1743 | if (!(f = put_new_file(s1))) | 1743 | if (!(f = put_new_file(s1))) |
| 1744 | return; | 1744 | return; |
| 1745 | tcc_debug_line(s1); | ||
| 1746 | if (s1->dwarf) { | 1745 | if (s1->dwarf) { |
| 1746 | tcc_debug_line(s1); | ||
| 1747 | dwarf_info.func = sym; | 1747 | dwarf_info.func = sym; |
| 1748 | dwarf_info.line = file->line_num; | 1748 | dwarf_info.line = file->line_num; |
| 1749 | if (s1->do_backtrace) { | 1749 | if (s1->do_backtrace) { |
| @@ -1762,6 +1762,7 @@ static void tcc_debug_funcstart(TCCState *s1, Sym *sym) · 12 unmodified lines | |||
| 1762 | tcc_get_debug_info(s1, sym->type.ref, &debug_str); | 1762 | tcc_get_debug_info(s1, sym->type.ref, &debug_str); |
| 1763 | put_stabs_r(s1, debug_str.data, N_FUN, 0, f->line_num, 0, cur_text_section, sym->c); | 1763 | put_stabs_r(s1, debug_str.data, N_FUN, 0, f->line_num, 0, cur_text_section, sym->c); |
| 1764 | cstr_free (&debug_str); | 1764 | cstr_free (&debug_str); |
| 1765 | tcc_debug_line(s1); | ||
| 1765 | } | 1766 | } |
| 1766 | } | 1767 | } |
| 1767 | 1768 | ||