aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.c
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/debug.c
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/debug.c')
-rw-r--r--gcc/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/debug.c b/gcc/debug.c
index 9c2caae..3d658e8 100644
--- a/gcc/debug.c
+++ b/gcc/debug.c
@@ -26,7 +26,7 @@ const struct gcc_debug_hooks do_nothing_debug_hooks =
{
debug_nothing_charstar,
debug_nothing_charstar,
- debug_nothing_void, /* early_finish */
+ debug_nothing_charstar, /* early_finish */
debug_nothing_void,
debug_nothing_int_charstar,
debug_nothing_int_charstar,