Commit 8f313754 by Tom Wood

(final_scan_insn): Call dwarfout_begin_function.

	(final_end_function): Call dwarfout_end_function.

From-SVN: r2359
parent 2c39ec40
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment