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:
parent
8cb360d3a2
commit
1ae8994fb3
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user