summaryrefslogtreecommitdiff
path: root/gcc/dumpfile.h
diff options
context:
space:
mode:
authorsinghai <singhai@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-22 18:50:19 +0000
committersinghai <singhai@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-22 18:50:19 +0000
commite739f87437277f040b6a78944ce0715910b01822 (patch)
tree681f63b2a5de370e26f0825f084508a7576d4775 /gcc/dumpfile.h
parent31d89c57eca365e2f85734fffa103debc6084126 (diff)
downloadgcc-e739f87437277f040b6a78944ce0715910b01822.tar.gz
2012-10-22 Sharad Singhai <singhai@google.com>
* dumpfile.c (dump_phase_enabled_p): Renamed dump_enabled_p. Update all callers. (dump_enabled_p): A new function to check if any of the dump files is available. (dump_kind_p): Remove check for current_function_decl. Add check for dumpfile and alt_dump_file. * dumpfile.h: Add declaration of dump_enabled_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r--gcc/dumpfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h
index 87a2c728623..24374bfd96b 100644
--- a/gcc/dumpfile.h
+++ b/gcc/dumpfile.h
@@ -121,6 +121,7 @@ extern int dump_switch_p (const char *);
extern int opt_info_switch_p (const char *);
extern const char *dump_flag_name (int);
extern bool dump_kind_p (int);
+extern inline bool dump_enabled_p (void);
extern void dump_printf (int, const char *, ...) ATTRIBUTE_PRINTF_2;
extern void dump_printf_loc (int, source_location,
const char *, ...) ATTRIBUTE_PRINTF_3;