From 8f313754fcb87598971b3524d3095fe4742e929b Mon Sep 17 00:00:00 2001 From: Tom Wood Date: Wed, 7 Oct 1992 20:23:56 +0000 Subject: [PATCH] (final_scan_insn): Call dwarfout_begin_function. (final_end_function): Call dwarfout_end_function. From-SVN: r2359 --- gcc/final.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- 2.30.2