Do not stream redundant stuff
authorJan Hubicka <jh@suse.cz>
Mon, 25 May 2020 12:41:33 +0000 (14:41 +0200)
committerJan Hubicka <jh@suse.cz>
Mon, 25 May 2020 12:41:33 +0000 (14:41 +0200)
commita746f952abb78af9db28a7f3bce442e113877c9c
treeb7eb8047093027d31c4d5f5becab23088c81df83
parent67bfbda18f4e6d0d30ad8f8790f1d0d4653131ed
Do not stream redundant stuff

as discussed on IRC this adds knob to disable stuff we stream "just for fun"
(or to make it easier to debug streamer desychnonization).

Te size of .o files in gcc subdirectory is reduced form 506MB to 492MB

gcc/

* lto-streamer-out.c (lto_output_tree): Add streamer_debugging check.
* lto-streamer.h (streamer_debugging): New constant
* tree-streamer-in.c (streamer_read_tree_bitfields): Add
streamer_debugging check.
(streamer_get_pickled_tree): Likewise.
* tree-streamer-out.c (pack_ts_base_value_fields): Likewise.
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/tree-streamer-in.c
gcc/tree-streamer-out.c