summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-22 15:38:23 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-22 15:38:23 +0000
commit21ce3cc7d082de3b70be7906137a543e61edf0d4 (patch)
tree44c3670b0d26100af79b3e3c0f8a0456a2cd342f /gcc/lto-streamer.h
parent1e81aceb4b8c3a37ac52b4b4889ef3da22c3dc80 (diff)
downloadgcc-21ce3cc7d082de3b70be7906137a543e61edf0d4.tar.gz
2009-10-22 Richard Guenther <rguenther@suse.de>
* lto-streamer.h (lto_symtab_merge_cgraph_nodes): Declare. * lto-symtab.c (struct lto_symtab_entry_def): Add node member. (lto_symtab_merge): Do not merge cgraph nodes here. (lto_symtab_resolve_can_prevail_p): Simplify. (lto_symtab_resolve_symbols): Store cgraph node. (lto_symtab_merge_decls_1): Simplify. Do not drop non-prevailing functions from the symtab. (lto_symtab_merge_cgraph_nodes_1): New function. (lto_symtab_merge_cgraph_nodes): Likewise. lto/ * lto.c (lto_fixup_jump_functions): Remove. (lto_fixup_decls): Do not fixup jump functions. (read_cgraph_and_symbols): Schedule cgraph merging after summary reading. Schedule type and decl fixup before summary reading. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 4b8b845dfe8..de1ee080b84 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -845,6 +845,7 @@ void input_cgraph (void);
extern void lto_symtab_register_decl (tree, ld_plugin_symbol_resolution_t,
struct lto_file_decl_data *);
extern void lto_symtab_merge_decls (void);
+extern void lto_symtab_merge_cgraph_nodes (void);
extern tree lto_symtab_prevailing_decl (tree decl);
extern enum ld_plugin_symbol_resolution lto_symtab_get_resolution (tree decl);