* dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.

From-SVN: r42731
This commit is contained in:
Richard Henderson 2001-05-30 18:13:43 -07:00 committed by Richard Henderson
parent 2297fdf160
commit fe7cd37f13
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-05-30 Richard Henderson <rth@redhat.com>
* dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
2001-05-30 Tom Tromey <tromey@redhat.com> 2001-05-30 Tom Tromey <tromey@redhat.com>
* gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix, * gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,

View File

@ -11445,8 +11445,9 @@ dwarf2out_finish ()
add_AT_lbl_id (comp_unit_die, DW_AT_high_pc, text_end_label); add_AT_lbl_id (comp_unit_die, DW_AT_high_pc, text_end_label);
} }
add_AT_lbl_offset (comp_unit_die, DW_AT_stmt_list, if (debug_info_level >= DINFO_LEVEL_NORMAL)
debug_line_section_label); add_AT_lbl_offset (comp_unit_die, DW_AT_stmt_list,
debug_line_section_label);
#if 0 /* unimplemented */ #if 0 /* unimplemented */
if (debug_info_level >= DINFO_LEVEL_VERBOSE && primary) if (debug_info_level >= DINFO_LEVEL_VERBOSE && primary)