]> gcc.gnu.org Git - gcc.git/commit
dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
authorJason Merrill <jason@casey.cygnus.com>
Tue, 23 Nov 1999 01:50:36 +0000 (01:50 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 23 Nov 1999 01:50:36 +0000 (20:50 -0500)
commita96c67ec898a25a760997e6b51b4f5832f671fa1
tree3b32c5b24f1b3eb143a51a0a4a9f083d9a3c4a8d
parent54f3b5c2f14c4041de7a05c245988a2a5e17fb14
dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.

        * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
        (add_dwarf_attr, add_child_die): Just push onto the front.
        (reverse_die_lists): New fn.
        (add_sibling_attributes): Use it.
        (push_decl_scope): Reorganize.
        (gen_struct_or_union_type_die): Don't add a DW_AT_containing_type
        that points to ourself.
        (add_name_and_src_coords_attributes): Don't set file and line for
        an artificial decl.
        (gen_subprogram_die): An artificial function doesn't need to match
        file and line.
        (gen_compile_unit_die): Return the generated die.  Only add
        AT_comp_dir if the filename is relative.
        (remove_AT): Simplify loop.  Also free string values.
        (output_die): A DIE ref can't be null.
        (output_value_format, value_format): Take a dw_attr_ref.
        (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
        (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
        AT_addr, AT_lbl): New fns.
        (various): Use them.
        (various): Constify.

From-SVN: r30624
gcc/ChangeLog
gcc/dwarf2out.c
This page took 0.059507 seconds and 5 git commands to generate.