diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1999-07-08 18:08:48 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-07-08 14:08:48 -0400 |
commit | ac260b05b2828fa961c6c5ff947a5169bcbd0d8a (patch) | |
tree | e097317a75a39aa2d869ef2e8e3948102fd05930 /gcc | |
parent | 6ccecb3615742074ccda14c032c284795637bb64 (diff) | |
download | gcc-ac260b05b2828fa961c6c5ff947a5169bcbd0d8a.zip gcc-ac260b05b2828fa961c6c5ff947a5169bcbd0d8a.tar.gz gcc-ac260b05b2828fa961c6c5ff947a5169bcbd0d8a.tar.bz2 |
dwarf2out.c (dwarf2out_line): Emit a line number comment after the label if we're being verbose.
* dwarf2out.c (dwarf2out_line): Emit a line number comment after
the label if we're being verbose.
From-SVN: r28027
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index adb71f8..1e13418 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com> + + * dwarf2out.c (dwarf2out_line): Emit a line number comment after + the label if we're being verbose. + Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com> * m68k.c (output_function_prologue): Add pic register to mask diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 5c108da..d0863fa 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9844,6 +9844,8 @@ dwarf2out_line (filename, line) register dw_separate_line_info_ref line_info; ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, SEPARATE_LINE_CODE_LABEL, separate_line_info_table_in_use); + if (flag_debug_asm) + fprintf (asm_out_file, "\t%s line %d", ASM_COMMENT_START, line); fputc ('\n', asm_out_file); /* expand the line info table if necessary */ @@ -9871,6 +9873,8 @@ dwarf2out_line (filename, line) ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, LINE_CODE_LABEL, line_info_table_in_use); + if (flag_debug_asm) + fprintf (asm_out_file, "\t%s line %d", ASM_COMMENT_START, line); fputc ('\n', asm_out_file); /* Expand the line info table if necessary. */ |