summaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:59:59 +0000
committerctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-31 14:59:59 +0000
commit1897b88152df894079137aba336a65361e09a9c8 (patch)
treeade60c4c4ed198b0036370e03ebd3a1f64ee4817 /gcc/debug.h
parentd6b5203d8dbe5fffec8c3aea15a308aa64faebd5 (diff)
downloadgcc-1897b88152df894079137aba336a65361e09a9c8.tar.gz
Fix problems with hot/cold partitioning optimization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97322 138bc75d-0d04-0410-961f-82ee72b054a4
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 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;