mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 01:30:29 +08:00
dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die for nested functions whose proper parent has not...
* dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die for nested functions whose proper parent has not been output. From-SVN: r88116
This commit is contained in:
parent
5db0241f0c
commit
1168d30f48
@ -1,5 +1,8 @@
|
||||
2004-09-26 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die
|
||||
for nested functions whose proper parent has not been output.
|
||||
|
||||
* profile.c (compute_branch_probabilities): Use REG_BR_PROB notes
|
||||
when re-constructing profile previously invalidated by loop.
|
||||
|
||||
|
@ -13574,6 +13574,8 @@ dwarf2out_finish (const char *filename)
|
||||
origin = lookup_decl_die (context);
|
||||
if (origin)
|
||||
add_child_die (origin, die);
|
||||
else
|
||||
add_child_die (comp_unit_die, die);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user