diff options
author | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-07 20:23:56 +0000 |
---|---|---|
committer | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-10-07 20:23:56 +0000 |
commit | 0e3f32fe8d08d5751007243f8dd56ee34489c5a7 (patch) | |
tree | 07c4b5eafb78c87b8c512f7ea7d76dfb34dfbbc8 /gcc/final.c | |
parent | 6c56d7d1b9027c161626a17f6e8d5d4343f26a5a (diff) | |
download | gcc-0e3f32fe8d08d5751007243f8dd56ee34489c5a7.tar.gz |
(final_scan_insn): Call dwarfout_begin_function.
(final_end_function): Call dwarfout_end_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-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 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); @@ -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) |