PR jit/64166: Add methods to gcc::dump_manager needed by JIT testing
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 9 Dec 2014 15:25:11 +0000 (15:25 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 9 Dec 2014 15:25:11 +0000 (15:25 +0000)
commit799505ae0c8aa82a1557b882b495b303f24e3be3
tree75873bc57a5cbae6acc0aaa790e968676b78c423
parent0cc67c94cf105774d67b6b647c044073d3f497d9
PR jit/64166: Add methods to gcc::dump_manager needed by JIT testing

gcc/ChangeLog:
PR jit/64166
* dumpfile.c (gcc::dump_manager::get_dump_file_info_by_switch):
New function.
(gcc::dump_manager::get_dump_file_name): Split out bulk of
implementation into a new overloaded variant taking a
dump_file_info *.
* dumpfile.h (gcc::dump_manager::get_dump_file_info_by_switch):
New function.
(gcc::dump_manager::get_dump_file_name): New overloaded variant of
this function, taking a dump_file_info *.

From-SVN: r218520
gcc/ChangeLog
gcc/dumpfile.c
gcc/dumpfile.h