]> git.ipfire.org Git - thirdparty/gcc.git/commit
dwarf2out.c (function_possibly_abstracted_p): New static function.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 14 Jun 2012 14:09:05 +0000 (14:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 14 Jun 2012 14:09:05 +0000 (14:09 +0000)
commit0364adfd168f4e0f155fafb2089a567755ccabf9
tree483f1b13f1045f868174d5a9bf379855188a002f
parent8fcd8c83abb628bf0f4eefad8c85aaac98aca9d7
dwarf2out.c (function_possibly_abstracted_p): New static function.

* dwarf2out.c (function_possibly_abstracted_p): New static function.
(gen_subprogram_die): Use it function_possibly_abstracted_p in lieu of
cgraph_function_possibly_inlined_p.
(gen_inlined_subroutine_die): Return if the origin is to be ignored.
(process_scope_var): Do not emit concrete instances of abstracted
nested functions from here.
(gen_decl_die): Emit the abstract instance if the function is possibly
abstracted and not only possibly inlined.
(dwarf2out_finish): Find the first non-abstract parent instance and
attach concrete instances on the limbo list to it.

From-SVN: r188621
gcc/ChangeLog
gcc/dwarf2out.c