diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-01-27 20:19:36 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-01-27 20:19:36 +0000 |
commit | 53c04ec92a37b35a7f37e00bd5a4b611cf470e3c (patch) | |
tree | c8823405a2ab3de543e96e14ffc83037629e01f9 /gcc/jit/jit-common.h | |
parent | 710700abb804afc0846423ab246034dec745a599 (diff) | |
download | gcc-53c04ec92a37b35a7f37e00bd5a4b611cf470e3c.tar.gz |
toplev: gcc version information for jit
gcc/ChangeLog:
* toplev.c (print_version): Add param "show_global_state", and
only print GGC and plugin information if it is true.
(init_asm_output): Pass in "true" for the new param when calling
print_version.
(process_options): Likewise.
(toplev::main): Likewise.
* toplev.h (print_version): Add new param to decl.
gcc/jit/ChangeLog:
* docs/internals/test-hello-world.exe.log.txt: Add example version
lines.
* jit-common.h (gcc::jit::dump::get_file): New accessor.
* jit-logging.c: Include toplev.h.
(gcc::jit::logger::logger): Log the GCC version.
* jit-recording.c: Include toplev.h.
(gcc:jit::recording::context::dump_reproducer_to_file): Log the
GCC version.
From-SVN: r220190
Diffstat (limited to 'gcc/jit/jit-common.h')
-rw-r--r-- | gcc/jit/jit-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/jit/jit-common.h b/gcc/jit/jit-common.h index 09d63badd9c..8753651a2be 100644 --- a/gcc/jit/jit-common.h +++ b/gcc/jit/jit-common.h @@ -178,6 +178,8 @@ public: recording::location * make_location () const; + FILE *get_file () const { return m_file; } + private: recording::context &m_ctxt; const char *m_filename; |