dwarf2out.c (add_abstract_origin_attribute): Call gen_abstract_function on our function context.
* dwarf2out.c (add_abstract_origin_attribute): Call gen_abstract_function on our function context. From-SVN: r31078
This commit is contained in:
parent
6165fb6bf5
commit
44db1d9c57
@ -1,3 +1,8 @@
|
||||
1999-12-22 Jason Merrill <jason@casey.cygnus.com>
|
||||
|
||||
* dwarf2out.c (add_abstract_origin_attribute): Call
|
||||
gen_abstract_function on our function context.
|
||||
|
||||
Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
|
||||
|
@ -7505,6 +7505,13 @@ add_abstract_origin_attribute (die, origin)
|
||||
{
|
||||
dw_die_ref origin_die = NULL;
|
||||
|
||||
/* We may have gotten separated from the block for the inlined
|
||||
function, if we're in an exception handler or some such; make
|
||||
sure that the abstract function has been written out. */
|
||||
tree fn = decl_function_context (origin);
|
||||
if (fn)
|
||||
gen_abstract_function (fn);
|
||||
|
||||
if (TREE_CODE_CLASS (TREE_CODE (origin)) == 'd')
|
||||
origin_die = lookup_decl_die (origin);
|
||||
else if (TREE_CODE_CLASS (TREE_CODE (origin)) == 't')
|
||||
|
Loading…
Reference in New Issue
Block a user