* dwarf2out.c (struct die_struct): Add dumped_early field.
commit44735b61025d38ff09a529e6e509de6695328a0f
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2014 16:38:04 +0000 (4 16:38 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2014 16:38:04 +0000 (4 16:38 +0000)
tree0754f0eba4ee43741814a567c96a8d6b96f4a451
parent507f17864274e208cab0e239aad29de4ee2f5ede
* dwarf2out.c (struct die_struct): Add dumped_early field.
(reparent_child): New.
(splice_child_die): Use reparent_child.
(gen_subprogram_die): Do not regenerate parameters if previously
dumped.
(gen_variable_die): Fix parent of decls that have been dumped
early to reflect correct context.
Do not regenerate decls if previously dumped.
(dwarf2out_decl): Add return value.
(dwarf2out_early_decl): Set dumped_early bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214909 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/dwarf2out.c