aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-09-13 10:37:49 -0700
committerIan Lance Taylor <iant@golang.org>2021-09-13 10:37:49 -0700
commite252b51ccde010cbd2a146485d8045103cd99533 (patch)
treee060f101cdc32bf5e520de8e5275db9d4236b74c /gcc/debug.h
parentf10c7c4596dda99d2ee872c995ae4aeda65adbdf (diff)
parent104c05c5284b7822d770ee51a7d91946c7e56d50 (diff)
downloadgcc-e252b51ccde010cbd2a146485d8045103cd99533.zip
gcc-e252b51ccde010cbd2a146485d8045103cd99533.tar.gz
gcc-e252b51ccde010cbd2a146485d8045103cd99533.tar.bz2
Merge from trunk revision 104c05c5284b7822d770ee51a7d91946c7e56d50.
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index 67e5267..ad45ea53 100644
--- a/gcc/debug.h
+++ b/gcc/debug.h
@@ -21,6 +21,10 @@
/* This structure contains hooks for the debug information output
functions, accessed through the global instance debug_hooks set in
toplev.c according to command line options. */
+/* WARNING: Do not add new debug hook targets - DWARF will be the only
+ way to speak debug to the middle-end once we are able to get rid of
+ the remaining targets. If you need alternate output formats instead
+ generate them off the DWARF representation. */
struct gcc_debug_hooks
{
/* Initialize debug output. MAIN_FILENAME is the name of the main
@@ -69,6 +73,10 @@ struct gcc_debug_hooks
void (* source_line) (unsigned int line, unsigned int column,
const char *file, int discriminator, bool is_stmt);
+ /* Record a source file location for a DECL_IGNORED_P function. */
+ void (* set_ignored_loc) (unsigned int line, unsigned int column,
+ const char *file);
+
/* Called at start of prologue code. LINE is the first line in the
function. */
void (* begin_prologue) (unsigned int line, unsigned int column,