Add comment to the new function. init_node_map is better invoked after the link step to avoid creating entries with for dead nodes.
Ok if large perf testing is fine. David On Tue, Mar 25, 2014 at 3:38 PM, Dehao Chen <de...@google.com> wrote: > This patch refactors LIPO fixup related code to move it into a > standalone function. This makes sure that > symtab_remove_unreachable_nodes is called right after the fixup so > that there is not dangling cgraph nodes any time. > > Bootstrapped and regression test on-going. > > OK for google-4_8? > > Thanks, > Dehao