From 87c8b4bed31dbbf4708549e10814197cac4d8249 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Thu, 31 Mar 2005 06:59:59 -0800 Subject: Fix problems with hot/cold partitioning optimization. From-SVN: r97322 --- gcc/debug.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/debug.h') diff --git a/gcc/debug.h b/gcc/debug.h index ca0ad77adba..5b4074b1294 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -120,6 +120,10 @@ struct gcc_debug_hooks /* Called from final_scan_insn for any NOTE_INSN_VAR_LOCATION note. */ void (* var_location) (rtx); + /* Called from final_scan_insn if there is a switch between hot and cold + text sections. */ + void (* switch_text_section) (void); + /* This is 1 if the debug writer wants to see start and end commands for the main source files, and 0 otherwise. */ int start_end_main_source_file; -- cgit v1.2.1