From: Tom Wood Date: Wed, 7 Oct 1992 20:23:56 +0000 (+0000) Subject: (final_scan_insn): Call dwarfout_begin_function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f313754fcb87598971b3524d3095fe4742e929b;p=gcc.git (final_scan_insn): Call dwarfout_begin_function. (final_end_function): Call dwarfout_end_function. From-SVN: r2359 --- diff --git a/gcc/final.c b/gcc/final.c index 1bc9e7cd1f7..d82d5534709 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -843,6 +843,11 @@ final_end_function (first, file, optimize) sdbout_end_function (last_linenum); #endif +#ifdef DWARF_DEBUGGING_INFO + if (write_symbols == DWARF_DEBUG) + dwarfout_end_function (); +#endif + #ifdef XCOFF_DEBUGGING_INFO if (write_symbols == XCOFF_DEBUG) xcoffout_end_function (file, last_linenum); @@ -1010,6 +1015,10 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) #ifdef XCOFF_DEBUGGING_INFO if (write_symbols == XCOFF_DEBUG) xcoffout_begin_function (file, last_linenum); +#endif +#ifdef DWARF_DEBUGGING_INFO + if (write_symbols == DWARF_DEBUG) + dwarfout_begin_function (); #endif break; }