lto-streamer-out.c (output_constructor): Push CTORS_OUT timevar.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 23 Oct 2019 18:22:40 +0000 (20:22 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 23 Oct 2019 18:22:40 +0000 (18:22 +0000)
commitebad2eeed903f7c9cf6c55d37be8af8c84f1cf32
tree4ce050da6801082f8214d6b6769954c0aa7d48a8
parentb5b6485f1cc54f21713b5b03c5d63d56839ca458
lto-streamer-out.c (output_constructor): Push CTORS_OUT timevar.

* lto-streamer-out.c (output_constructor): Push CTORS_OUT timevar.
(cmp_symbol_files): New.
(lto_output): Copy sections in file order.
* lto-streamer.h (lto_file_decl_data): Add field order.
* lto-common.c (lto_file_finalize): Add order attribute.
(lto_create_files_from_ids): Pass order.
(lto_file_read): UPdate call of lto_create_files_from_ids.

From-SVN: r277346
gcc/ChangeLog
gcc/lto-streamer-out.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto-common.c