dwarf2out.c (dwarf2out_line): Emit a line number comment after the label if we're...
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 8 Jul 1999 18:08:48 +0000 (18:08 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 8 Jul 1999 18:08:48 +0000 (14:08 -0400)
* dwarf2out.c (dwarf2out_line): Emit a line number comment after
the label if we're being verbose.

From-SVN: r28027

gcc/ChangeLog
gcc/dwarf2out.c

index adb71f8b237470d08419ca194bee435034e12d2d..1e134182fb5729c79ba1a4a4b2d1b8d793474c6d 100644 (file)
@@ -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
index 5c108dad4d14b328e0df06280a1a8e28f284a56b..d0863fabda65279ea818a4299a7387cdb8dc613f 100644 (file)
@@ -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.  */