aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorCaroline Tice <ctice@gcc.gnu.org>2005-03-31 06:59:59 -0800
committerCaroline Tice <ctice@gcc.gnu.org>2005-03-31 06:59:59 -0800
commit87c8b4bed31dbbf4708549e10814197cac4d8249 (patch)
treeade60c4c4ed198b0036370e03ebd3a1f64ee4817 /gcc/debug.h
parent68ec3111c0ff30d2dc2f172897379cc891ae180d (diff)
downloadgcc-87c8b4bed31dbbf4708549e10814197cac4d8249.zip
gcc-87c8b4bed31dbbf4708549e10814197cac4d8249.tar.gz
gcc-87c8b4bed31dbbf4708549e10814197cac4d8249.tar.bz2
Fix problems with hot/cold partitioning optimization.
From-SVN: r97322
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index ca0ad77..5b4074b 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;