mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 19:01:12 +08:00
When doing WPA in incremental link pass down resolution info.
* lto-cgraph.cc (lto_output_node): When doing WPA in incremental link pass down resolution info.
This commit is contained in:
parent
39ebd3a9f5
commit
6bfc384f55
@ -563,7 +563,8 @@ lto_output_node (struct lto_simple_output_block *ob, struct cgraph_node *node,
|
||||
LDPR_NUM_KNOWN,
|
||||
/* When doing incremental link, we will get new resolution
|
||||
info next time we process the file. */
|
||||
flag_incremental_link ? LDPR_UNKNOWN : node->resolution);
|
||||
flag_incremental_link == INCREMENTAL_LINK_LTO
|
||||
? LDPR_UNKNOWN : node->resolution);
|
||||
bp_pack_value (&bp, node->split_part, 1);
|
||||
streamer_write_bitpack (&bp);
|
||||
streamer_write_data_stream (ob->main_stream, section, strlen (section) + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user