OSDN Git Service

* dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 1999 01:50:36 +0000 (01:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 1999 01:50:36 +0000 (01:50 +0000)
commitc90bf86c4c2d2f220539f0c8764c58ff8e15bbc5
tree3b32c5b24f1b3eb143a51a0a4a9f083d9a3c4a8d
parent56c918b166b24fb50fc5aa1e5853955872c0ac2a
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30624 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c