summaryrefslogtreecommitdiff
path: root/gcc/data-streamer.h
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-31 07:51:41 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-31 07:51:41 +0000
commita797f9eed54019df2013a700b332247962f65f66 (patch)
treeff37ca736ada5ffa9cbb047d08ff03f4d6d72c52 /gcc/data-streamer.h
parente3f3803dbd29c68d3a2b62cfbefeae271a693a80 (diff)
downloadgcc-a797f9eed54019df2013a700b332247962f65f66.tar.gz
2014-07-31 Richard Biener <rguenther@suse.de>
* data-streamer.h (streamer_write_data_stream): Declare here, renamed from ... * lto-streamer.h (lto_output_data_stream): ... this. Remove. * lto-cgraph.c (lto_output_node): Adjust. (lto_output_varpool_node): Likewise. * data-streamer-out.c (streamer_string_index): Likewise. (streamer_write_data_stream, lto_append_block): Move from ... * lto-section-out.c (lto_output_data_stream, lto_append_block): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/data-streamer.h')
-rw-r--r--gcc/data-streamer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/data-streamer.h b/gcc/data-streamer.h
index dc7b7207add..56fedd2764d 100644
--- a/gcc/data-streamer.h
+++ b/gcc/data-streamer.h
@@ -70,6 +70,8 @@ void streamer_write_uhwi_stream (struct lto_output_stream *,
unsigned HOST_WIDE_INT);
void streamer_write_hwi_stream (struct lto_output_stream *, HOST_WIDE_INT);
void streamer_write_gcov_count_stream (struct lto_output_stream *, gcov_type);
+void streamer_write_data_stream (struct lto_output_stream *, const void *,
+ size_t);
/* In data-streamer-in.c */
const char *string_for_index (struct data_in *, unsigned int, unsigned int *);