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 04:56:07 +0000 (13:56 +0900)
commit2a7259ea89c2e8fc0cd15f87a22b0dd9458bdd7d
tree86d857765802328b10932eec486f1b332270ac72
parent507e9ee716fcd51cd3263f43e5496a5d33cc9b98
* 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