Commit d291dd49 by Jason Merrill

DWARF2

From-SVN: r12920
parent 79c900b1
...@@ -895,6 +895,12 @@ final_start_function (first, file, optimize) ...@@ -895,6 +895,12 @@ final_start_function (first, file, optimize)
last_linenum = high_block_linenum = high_function_linenum last_linenum = high_block_linenum = high_function_linenum
= NOTE_LINE_NUMBER (first); = NOTE_LINE_NUMBER (first);
#if defined (DWARF_DEBUGGING_INFO) && DWARF_VERSION == 2
/* Output DWARF definition of the function. */
if (write_symbols == DWARF_DEBUG)
dwarfout_begin_prologue ();
#endif
/* For SDB and XCOFF, the function beginning must be marked between /* For SDB and XCOFF, the function beginning must be marked between
the function label and the prologue. We always need this, even when the function label and the prologue. We always need this, even when
-g1 was used. Defer on MIPS systems so that parameter descriptions -g1 was used. Defer on MIPS systems so that parameter descriptions
......
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