aboutsummaryrefslogtreecommitdiff
path: root/gcc/dumpfile.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-07-12 15:14:52 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2018-07-12 13:14:52 +0000
commit75fdb07e3e34acaf54f0a53556eaba866092ef2f (patch)
treed7f00caf2d3bc0ebffcb6799ff3d2cb53fc80cfc /gcc/dumpfile.h
parent5249ee4d79855edda91b26bb07c9c8737cdfc96c (diff)
downloadgcc-75fdb07e3e34acaf54f0a53556eaba866092ef2f.zip
gcc-75fdb07e3e34acaf54f0a53556eaba866092ef2f.tar.gz
gcc-75fdb07e3e34acaf54f0a53556eaba866092ef2f.tar.bz2
dumpfile.c (gcc::dump_manager::get_dump_file_name): Add PART parameter.
* dumpfile.c (gcc::dump_manager::get_dump_file_name): Add PART parameter. (gcc::dump_manager::get_dump_file_name): likewise. (dump_begin): Likewise. * dumpfile.h (dump_begin): Update prototype. (gcc::dump_manager::get_dump_file_name, gcc::dump_manager::get_dump_file_name): Update prototype. From-SVN: r262591
Diffstat (limited to 'gcc/dumpfile.h')
-rw-r--r--gcc/dumpfile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h
index 4a71ef7..40e3332 100644
--- a/gcc/dumpfile.h
+++ b/gcc/dumpfile.h
@@ -416,7 +416,7 @@ class dump_location_t
};
/* In dumpfile.c */
-extern FILE *dump_begin (int, dump_flags_t *);
+extern FILE *dump_begin (int, dump_flags_t *, int part=-1);
extern void dump_end (int, FILE *);
extern int opt_info_switch_p (const char *);
extern const char *dump_flag_name (int);
@@ -538,10 +538,10 @@ public:
/* Return the name of the dump file for the given phase.
If the dump is not enabled, returns NULL. */
char *
- get_dump_file_name (int phase) const;
+ get_dump_file_name (int phase, int part = -1) const;
char *
- get_dump_file_name (struct dump_file_info *dfi) const;
+ get_dump_file_name (struct dump_file_info *dfi, int part = -1) const;
int
dump_switch_p (const char *arg);
@@ -560,7 +560,7 @@ public:
dump_finish (int phase);
FILE *
- dump_begin (int phase, dump_flags_t *flag_ptr);
+ dump_begin (int phase, dump_flags_t *flag_ptr, int part);
/* Returns nonzero if tree dump PHASE has been initialized. */
int