(final_scan_insn): Call dwarfout_begin_function.
(final_end_function): Call dwarfout_end_function. From-SVN: r2359
This commit is contained in:
parent
2c39ec409c
commit
8f313754fc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user