aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2019-10-23 20:22:40 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2019-10-23 18:22:40 +0000
commitebad2eeed903f7c9cf6c55d37be8af8c84f1cf32 (patch)
tree4ce050da6801082f8214d6b6769954c0aa7d48a8 /gcc/lto-streamer.h
parentb5b6485f1cc54f21713b5b03c5d63d56839ca458 (diff)
downloadgcc-ebad2eeed903f7c9cf6c55d37be8af8c84f1cf32.zip
gcc-ebad2eeed903f7c9cf6c55d37be8af8c84f1cf32.tar.gz
gcc-ebad2eeed903f7c9cf6c55d37be8af8c84f1cf32.tar.bz2
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
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 9f787c4..3e4308a 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -603,6 +603,9 @@ struct GTY(()) lto_file_decl_data
/* Linked list used temporarily in reader */
struct lto_file_decl_data *next;
+ /* Order in which the file appears on the command line. */
+ int order;
+
/* Sub ID for merged objects. */
unsigned HOST_WIDE_INT id;