diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-03 19:28:24 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-03 19:28:24 +0000 |
commit | 2c845fbca5d944c4f106beb8b04b5a465d387f5c (patch) | |
tree | 6edc51684fdc5e75f650680a6dd0c8c156d03087 /gcc/jit/ChangeLog | |
parent | 617a6dfb66953e20957176c1e7e16e99e9179116 (diff) |
jit: option-logging
gcc/jit/ChangeLog:
* jit-logging.h (gcc::jit::log_user::log): Make const.
* jit-recording.c (gcc::jit::recording::context::set_str_option):
Log the new value of the option.
(gcc::jit::recording::context::set_int_option): Likewise.
(gcc::jit::recording::context::set_bool_option): Likewise.
(gcc::jit::recording::context::compile): Log the value of all
options.
(gcc::jit::recording::context::compile_to_file): Likewise.
(gcc::jit::recording::context::log_all_options): New function.
(gcc::jit::recording::context::log_str_option): New function.
(gcc::jit::recording::context::log_int_option): New function.
(gcc::jit::recording::context::log_bool_option): New function.
* jit-recording.h (gcc::jit::recording::context::log_all_options):
New function.
(gcc::jit::recording::context::log_str_option): New function.
(gcc::jit::recording::context::log_int_option): New function.
(gcc::jit::recording::context::log_bool_option): New function.
* docs/internals/test-hello-world.exe.log.txt: Update for above
changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220375 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jit/ChangeLog')
-rw-r--r-- | gcc/jit/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index e25b9de296a..f99b5024b95 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,5 +1,28 @@ 2015-02-03 David Malcolm <dmalcolm@redhat.com> + * jit-logging.h (gcc::jit::log_user::log): Make const. + * jit-recording.c (gcc::jit::recording::context::set_str_option): + Log the new value of the option. + (gcc::jit::recording::context::set_int_option): Likewise. + (gcc::jit::recording::context::set_bool_option): Likewise. + (gcc::jit::recording::context::compile): Log the value of all + options. + (gcc::jit::recording::context::compile_to_file): Likewise. + (gcc::jit::recording::context::log_all_options): New function. + (gcc::jit::recording::context::log_str_option): New function. + (gcc::jit::recording::context::log_int_option): New function. + (gcc::jit::recording::context::log_bool_option): New function. + * jit-recording.h (gcc::jit::recording::context::log_all_options): + New function. + (gcc::jit::recording::context::log_str_option): New function. + (gcc::jit::recording::context::log_int_option): New function. + (gcc::jit::recording::context::log_bool_option): New function. + * docs/internals/test-hello-world.exe.log.txt: Update for above + changes. + * docs/_build/texinfo/libgccjit.texi: Regenerate. + +2015-02-03 David Malcolm <dmalcolm@redhat.com> + PR jit/64810 * Make-lang.in (jit_OBJS): Add jit/jit-spec.o and gcc.o. (LIBGCCJIT_FILENAME): Add EXTRA_GCC_OBJS. |