diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-30 12:14:58 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-30 12:14:58 +0000 |
commit | 2d97af95e9aa82975d6876f4fc86473e8c2f1bb5 (patch) | |
tree | 17ed7ba165f1d2672b9045df3792853564446f62 /gcc/lto-streamer.h | |
parent | 5bfeb3fa5d6ab6eaf2c99e4453f31fe1fa0c43eb (diff) | |
download | gcc-2d97af95e9aa82975d6876f4fc86473e8c2f1bb5.tar.gz |
2014-07-30 Richard Biener <rguenther@suse.de>
* lto-streamer.h (lto_write_data): New function.
* langhooks.c (lhd_append_data): Do not free block.
* lto-section-out.c (lto_write_data): New function writing
raw data to the current section.
(lto_write_stream): Adjust for langhook semantic change.
(lto_destroy_simple_output_block): Write header directly.
* lto-opts.c (lto_write_options): Write options directly.
* lto-streamer-out.c (produce_asm): Write heaeder directly.
(lto_output_toplevel_asms): Likewise.
(copy_function_or_variable): Copy data directly.
(write_global_references): Output index table directly.
(lto_output_decl_state_refs): Likewise.
(write_symbol): Write data directly.
(produce_symtab): Adjust.
(produce_asm_for_decls): Output header and refs directly.
lto/
* lto-object.c (lto_obj_append_data): Do not free block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r-- | gcc/lto-streamer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index d350ad9cedb..423108b60eb 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -777,6 +777,7 @@ extern void lto_value_range_error (const char *, /* In lto-section-out.c */ extern void lto_begin_section (const char *, bool); extern void lto_end_section (void); +extern void lto_write_data (const void *, unsigned int); extern void lto_write_stream (struct lto_output_stream *); extern void lto_output_data_stream (struct lto_output_stream *, const void *, size_t); |