diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-02-03 19:28:24 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-02-03 19:28:24 +0000 |
commit | 0ed4f01761116587a0aac7faae8512d6e73eeed0 (patch) | |
tree | 6edc51684fdc5e75f650680a6dd0c8c156d03087 /gcc/jit/docs/internals | |
parent | 457d0ace46de02afd84f2ed5bd333a72cb0f414f (diff) | |
download | gcc-0ed4f01761116587a0aac7faae8512d6e73eeed0.zip gcc-0ed4f01761116587a0aac7faae8512d6e73eeed0.tar.gz gcc-0ed4f01761116587a0aac7faae8512d6e73eeed0.tar.bz2 |
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.
From-SVN: r220375
Diffstat (limited to 'gcc/jit/docs/internals')
-rw-r--r-- | gcc/jit/docs/internals/test-hello-world.exe.log.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/jit/docs/internals/test-hello-world.exe.log.txt b/gcc/jit/docs/internals/test-hello-world.exe.log.txt index a9abc10..5cb3aef 100644 --- a/gcc/jit/docs/internals/test-hello-world.exe.log.txt +++ b/gcc/jit/docs/internals/test-hello-world.exe.log.txt @@ -1,18 +1,25 @@ JIT: libgccjit (GCC) version 5.0.0 20150123 (experimental) (x86_64-unknown-linux-gnu) JIT: compiled by GNU C version 4.8.3 20140911 (Red Hat 4.8.3-7), GMP version 5.1.2, MPFR version 3.1.2, MPC version 1.0.1 JIT: entering: gcc_jit_context_set_str_option +JIT: GCC_JIT_STR_OPTION_PROGNAME: "./test-hello-world.c.exe" JIT: exiting: gcc_jit_context_set_str_option JIT: entering: gcc_jit_context_set_int_option +JIT: GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL: 3 JIT: exiting: gcc_jit_context_set_int_option JIT: entering: gcc_jit_context_set_bool_option +JIT: GCC_JIT_BOOL_OPTION_DEBUGINFO: true JIT: exiting: gcc_jit_context_set_bool_option JIT: entering: gcc_jit_context_set_bool_option +JIT: GCC_JIT_BOOL_OPTION_DUMP_INITIAL_TREE: false JIT: exiting: gcc_jit_context_set_bool_option JIT: entering: gcc_jit_context_set_bool_option +JIT: GCC_JIT_BOOL_OPTION_DUMP_INITIAL_GIMPLE: false JIT: exiting: gcc_jit_context_set_bool_option JIT: entering: gcc_jit_context_set_bool_option +JIT: GCC_JIT_BOOL_OPTION_SELFCHECK_GC: true JIT: exiting: gcc_jit_context_set_bool_option JIT: entering: gcc_jit_context_set_bool_option +JIT: GCC_JIT_BOOL_OPTION_DUMP_SUMMARY: false JIT: exiting: gcc_jit_context_set_bool_option JIT: entering: gcc_jit_context_get_type JIT: exiting: gcc_jit_context_get_type @@ -47,6 +54,16 @@ JIT: exiting: gcc_jit_context_dump_reproducer_to_file JIT: entering: gcc_jit_context_compile JIT: in-memory compile of ctxt: 0x1283e20 JIT: entering: gcc::jit::result* gcc::jit::recording::context::compile() +JIT: GCC_JIT_STR_OPTION_PROGNAME: "./test-hello-world.c.exe" +JIT: GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL: 3 +JIT: GCC_JIT_BOOL_OPTION_DEBUGINFO: true +JIT: GCC_JIT_BOOL_OPTION_DUMP_INITIAL_TREE: false +JIT: GCC_JIT_BOOL_OPTION_DUMP_INITIAL_GIMPLE: false +JIT: GCC_JIT_BOOL_OPTION_DUMP_GENERATED_CODE: false +JIT: GCC_JIT_BOOL_OPTION_DUMP_SUMMARY: false +JIT: GCC_JIT_BOOL_OPTION_DUMP_EVERYTHING: false +JIT: GCC_JIT_BOOL_OPTION_SELFCHECK_GC: true +JIT: GCC_JIT_BOOL_OPTION_KEEP_INTERMEDIATES: false JIT: entering: void gcc::jit::recording::context::validate() JIT: exiting: void gcc::jit::recording::context::validate() JIT: entering: gcc::jit::playback::context::context(gcc::jit::recording::context*) |