diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-12 09:12:47 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-06-12 09:12:47 +0000 |
commit | 9e9c3e92e9fbf4254b4ae185aeb345e2e08629e5 (patch) | |
tree | f90b96685d9ff8fb7b5722fdf8b1ff094b9c8b96 /gcc/lto-streamer.h | |
parent | e9b152974632d5f7c0303e03da34bb4077f37b8e (diff) | |
download | gcc-9e9c3e92e9fbf4254b4ae185aeb345e2e08629e5.tar.gz |
* lto-symtab.c (lto_symtab_merge_symbols): Populate symtab hashtable.
* cgraph.h (varpool_create_empty_node): Declare.
* lto-cgraph.c (input_node, input_varpool_node): Forcingly create
duplicated nodes.
* symtab.c (symtab_unregister_node): Be lax about missin entries
in node hash.
(symtab_get_node): Update comment.
* varpool.c (varpool_create_empty_node): Break out from ...
(varpool_node_for_decl): ... here.
* lto-streamer.h (lto_file_decl_data): Add RESOLUTION_MAP.
* lto.c (register_resolution): Take lto_file_data argument.
(lto_register_var_decl_in_symtab,
lto_register_function_decl_in_symtab): Update.
(read_cgraph_and_symbols): Update resolution_map handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199990 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r-- | gcc/lto-streamer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index a0eca6d8e2e..88985ddca23 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -569,6 +569,9 @@ struct GTY(()) lto_file_decl_data unsigned max_index; struct gcov_ctr_summary GTY((skip)) profile_info; + + /* Map assigning declarations their resolutions. */ + pointer_map_t * GTY((skip)) resolution_map; }; typedef struct lto_file_decl_data *lto_file_decl_data_ptr; |