+2017-11-19 Tom de Vries <tom@codesourcery.com>
+
+ PR target/82961
+ * vmsdbgout.c (vmsdbgout_early_finish): New function.
+ (vmsdbg_debug_hooks): Set early_finish field to vmsdbgout_early_finish.
+
2017-11-18 Jan Hubicka <hubicka@ucw.cz>
* cgraphclones.c (cgraph_edge::clone): Rename gcov_count to prof_count.
static void vmsdbgout_init (const char *);
static void vmsdbgout_finish (const char *);
+static void vmsdbgout_early_finish (const char *);
static void vmsdbgout_assembly_start (void);
static void vmsdbgout_define (unsigned int, const char *);
static void vmsdbgout_undef (unsigned int, const char *);
const struct gcc_debug_hooks vmsdbg_debug_hooks
= {vmsdbgout_init,
vmsdbgout_finish,
- debug_nothing_charstar,
+ vmsdbgout_early_finish,
vmsdbgout_assembly_start,
vmsdbgout_define,
vmsdbgout_undef,
(*dwarf2_debug_hooks.outlining_inline_function) (decl);
}
+static void
+vmsdbgout_early_finish (const char *filename)
+{
+ if (write_symbols == VMS_AND_DWARF2_DEBUG)
+ (*dwarf2_debug_hooks.early_finish) (filename);
+}
+
/* Output stuff that Debug requires at the end of every file and generate the
VMS Debug debugging info. */