debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook.
authorRichard Biener <rguenther@suse.de>
Tue, 20 Sep 2016 07:37:53 +0000 (07:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Sep 2016 07:37:53 +0000 (07:37 +0000)
commit68317985439c7eb789bd3046b633130fec03e52c
tree158e7af39eb7618b43edeed536be1eb66a38b29a
parentb78713939badabdb47ab512103d54bd9a08a3871
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
gcc/ChangeLog
gcc/cgraphunit.c
gcc/dbxout.c
gcc/debug.c
gcc/debug.h
gcc/dwarf2out.c
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/sdbout.c