parent
c29f60c03c
commit
de6e505ec7
|
@ -53,8 +53,6 @@ Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
|
||||||
(reverse_die_lists): New fn.
|
(reverse_die_lists): New fn.
|
||||||
(add_sibling_attributes): Use it.
|
(add_sibling_attributes): Use it.
|
||||||
(push_decl_scope): Reorganize.
|
(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
|
(add_name_and_src_coords_attributes): Don't set file and line for
|
||||||
an artificial decl.
|
an artificial decl.
|
||||||
(gen_subprogram_die): An artificial function doesn't need to match
|
(gen_subprogram_die): An artificial function doesn't need to match
|
||||||
|
|
|
@ -8935,12 +8935,9 @@ gen_struct_or_union_type_die (type, context_die)
|
||||||
{
|
{
|
||||||
tree vtype = DECL_FCONTEXT (TYPE_VFIELD (type));
|
tree vtype = DECL_FCONTEXT (TYPE_VFIELD (type));
|
||||||
|
|
||||||
if (vtype != type)
|
gen_type_die (vtype, context_die);
|
||||||
{
|
add_AT_die_ref (type_die, DW_AT_containing_type,
|
||||||
gen_type_die (vtype, context_die);
|
lookup_type_die (vtype));
|
||||||
add_AT_die_ref (type_die, DW_AT_containing_type,
|
|
||||||
lookup_type_die (vtype));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue