OSDN Git Service

* lto.c (get_filename_for_set): Look for cgraph node and if none found, use
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Apr 2010 18:44:41 +0000 (18:44 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:37:28 +0000 (14:37 +0900)
commit507bdfa48a62043c40f5b070d464bb05bec64bc0
tree422e07839c7cc368bf6465b3e72f153ad950d27a
parentf857dd3f8474832be90c22bec0dcc68e5641880f
* lto.c (get_filename_for_set): Look for cgraph node and if none found, use
default name.
(lto_wpa_write_files): Write any non-empty partition.

* cgraph.h (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): New.
* lto-cgraph.c (input_cgraph): Remove call to lto_mark_file_for_ltrans.
* lto-streamer.h (lto_file_decl_data): Remove needs_ltrans_p.
(lto_file_needs_ltrans_p, lto_mark_file_for_ltrans,
cgraph_node_set_needs_ltrans_p): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158943 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/lto-cgraph.c
gcc/lto-streamer.h
gcc/lto/ChangeLog
gcc/lto/lto.c