diff options
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 9d097f0b503..d593aacc4fc 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -618,6 +618,7 @@ lto_output_location (struct output_block *ob, location_t loc) output_string (ob, ob->main_stream, xloc.file); output_sleb128 (ob, xloc.line); output_sleb128 (ob, xloc.column); + output_sleb128 (ob, xloc.sysp); ob->current_file = xloc.file; ob->current_line = xloc.line; @@ -690,6 +691,7 @@ lto_output_tree_ref (struct output_block *ob, tree expr) break; case VAR_DECL: + case DEBUG_EXPR_DECL: gcc_assert (decl_function_context (expr) == NULL); output_record_start (ob, LTO_global_decl_ref); lto_output_var_decl_index (ob->decl_state, ob->main_stream, expr); @@ -1761,7 +1763,7 @@ output_bb (struct output_block *ob, basic_block bb, struct function *fn) /* Create the header in the file using OB. If the section type is for a function, set FN to the decl for that function. */ -static void +void produce_asm (struct output_block *ob, tree fn) { enum lto_section_type section_type = ob->section_type; |