* cgraph.c (cgraph_node::get_untransformed_body): Pass compressed
commit6cbd82a69bcb08f4fc4f7ab478101809dd1b9268
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Dec 2015 02:12:15 +0000 (13 02:12 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Dec 2015 02:12:15 +0000 (13 02:12 +0000)
treed18c6e4f8e505e7d6ec7206494843089e5e6d216
parent83a01d52b2c8c8707372af7eb1ef3f7a7fd3fdb5
* 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.

* lto.c (lto_read_in_decl_state): Unpickle compressed bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231593 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/lto-section-in.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/varpool.c