aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2016-09-20 07:37:53 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2016-09-20 07:37:53 +0000
commit68317985439c7eb789bd3046b633130fec03e52c (patch)
tree158e7af39eb7618b43edeed536be1eb66a38b29a /gcc/lto
parentb78713939badabdb47ab512103d54bd9a08a3871 (diff)
downloadgcc-68317985439c7eb789bd3046b633130fec03e52c.zip
gcc-68317985439c7eb789bd3046b633130fec03e52c.tar.gz
gcc-68317985439c7eb789bd3046b633130fec03e52c.tar.bz2
debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook.
2016-09-20 Richard Biener <rguenther@suse.de> * debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. * debug.c (do_nothing_debug_hooks): Adjust. * dbxout.c (dbx_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * dwarf2out.c (dwarf2_lineno_debug_hooks): Likewise. (dwarf2out_finish): Move producer, filename and path annotation ... (dwarf2out_early_finish): ... here. Remove in_lto_p special-casing. * cgraphunit.c (symbol_table::finalize_compilation_unit): Adjust. lto/ * lto.c (lto_main): Call early_finish with "<artificial>" as filename. From-SVN: r240255
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index c5bd7a0..67fc164 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-20 Richard Biener <rguenther@suse.de>
+
+ * lto.c (lto_main): Call early_finish with "<artificial>" as
+ filename.
+
2016-09-19 Richard Biener <rguenther@suse.de>
* lto.c (lto_main): Invoke early_finish debug hook.
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index c94ed62..ecd30b9 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -3316,7 +3316,7 @@ lto_main (void)
lto_promote_statics_nonwpa ();
/* Annotate the CU DIE and mark the early debug phase as finished. */
- debug_hooks->early_finish ();
+ debug_hooks->early_finish ("<artificial>");
/* Let the middle end know that we have read and merged all of
the input files. */