aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
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,