diff options
author | Tom Wood <wood@gnu.org> | 1992-10-07 20:23:56 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-10-07 20:23:56 +0000 |
commit | 8f313754fcb87598971b3524d3095fe4742e929b (patch) | |
tree | 07c4b5eafb78c87b8c512f7ea7d76dfb34dfbbc8 /gcc | |
parent | 2c39ec409c6833fac1cb04482cfd8e267dba0249 (diff) | |
download | gcc-8f313754fcb87598971b3524d3095fe4742e929b.zip gcc-8f313754fcb87598971b3524d3095fe4742e929b.tar.gz gcc-8f313754fcb87598971b3524d3095fe4742e929b.tar.bz2 |
(final_scan_insn): Call dwarfout_begin_function.
(final_end_function): Call dwarfout_end_function.
From-SVN: r2359
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/final.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c index 1bc9e7c..d82d553 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); @@ -1011,6 +1016,10 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes) 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; } if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_DELETED) |