diff options
author | Richard Biener <rguenther@suse.de> | 2016-09-20 07:37:53 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-09-20 07:37:53 +0000 |
commit | 68317985439c7eb789bd3046b633130fec03e52c (patch) | |
tree | 158e7af39eb7618b43edeed536be1eb66a38b29a /gcc/debug.h | |
parent | b78713939badabdb47ab512103d54bd9a08a3871 (diff) | |
download | gcc-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.h')
-rw-r--r-- | gcc/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/debug.h b/gcc/debug.h index 6711f8b..34b63d7 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -31,7 +31,7 @@ struct gcc_debug_hooks void (* finish) (const char *main_filename); /* Run cleanups necessary after early debug generation. */ - void (* early_finish) (void); + void (* early_finish) (const char *main_filename); /* Called from cgraph_optimize before starting to assemble functions/variables/toplevel asms. */ |