aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-out.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2009-10-23 20:45:33 +0000
committerJeff Law <law@redhat.com>2009-10-23 20:45:33 +0000
commit1842abc1729f8464ebb6841bbba53c16e2ef85e4 (patch)
tree11cd53c01c82fef4a36dc441c177c8f5791e42b5 /gcc/lto-streamer-out.c
parent7cb10b40862da77eb3b5b1d8849fcf9586cc76ee (diff)
parent4305ca1e7fb07a4366633371d39928486f440d40 (diff)
Merge from trunkreload-v2
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/reload-v2@153515 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r--gcc/lto-streamer-out.c4
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;