dwarf2out.c (add_abstract_origin_attribute): Do call abort if the abstract origin wasn't emitted.

* dwarf2out.c (add_abstract_origin_attribute): Do call abort if
        the abstract origin wasn't emitted.

From-SVN: r30946
This commit is contained in:
Jason Merrill 1999-12-15 09:05:18 +00:00 committed by Jason Merrill
parent 8cb360d3a2
commit 1ae8994fb3
2 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,9 @@ Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
1999-12-14 Jason Merrill <jason@casey.cygnus.com>
* dwarf2out.c (add_abstract_origin_attribute): Do call abort if
the abstract origin wasn't emitted.
* dwarf2out.c (class_scope_p): New fn.
(gen_subprogram_die): Use it.
(gen_variable_die): Use it. Tweak logic.

View File

@ -7511,7 +7511,7 @@ add_abstract_origin_attribute (die, origin)
origin_die = lookup_type_die (origin);
if (origin_die == NULL)
return;
abort ();
add_AT_die_ref (die, DW_AT_abstract_origin, origin_die);
}