cgraph.c (cgraph_node::get_untransformed_body): Pass compressed flag to lto_get_secti...
authorJan Hubicka <hubicka@gcc.gnu.org>
Sun, 13 Dec 2015 02:13:15 +0000 (02:13 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 13 Dec 2015 02:13:15 +0000 (02:13 +0000)
commit7fa658c2ccdcb482c5060a5cff71b416ae876dbf
tree53aa432f12e511d7d5bf93c922661e1f9b2417ec
parentca83487662329ae9130ffbf72fae7dbfe4fddb83
cgraph.c (cgraph_node::get_untransformed_body): Pass compressed flag to lto_get_section_data.

* cgraph.c (cgraph_node::get_untransformed_body): Pass compressed
flag to lto_get_section_data.
* varpool.c (varpool_node::get_constructor): Likewise.
* lto-section-in.c (lto_get_section_data): Add new flag decompress.
(lto_free_section_data): Likewise.
(lto_get_raw_section_data): New function.
(lto_free_raw_section_data): New function.
(copy_function_or_variable): Copy sections w/o decompressing.
(lto_output_decl_state_refs): Picke compressed bit.
* lto-streamer.h (lto_in_decl_state): New flag compressed.
(lto_out_decl_state): Likewise.
(lto_get_section_data, lto_free_section_data): Update prototypes
(lto_get_raw_section_data, lto_free_raw_section_data): Declare.
(lto_write_raw_data): Declare.
(lto_begin_section): Remove FIXME.
(lto_write_raw_data): New function.
(lto_write_stream): Remove FIXME.
(lto_new_out_decl_state): Set compressed flag.

From-SVN: r231594
gcc/lto-section-out.c
gcc/lto-streamer-out.c