aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/ChangeLog
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-09 19:03:19 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-12-09 19:03:19 +0000
commit418f34737ed59cbbf7f10205a6acd9985710e917 (patch)
tree9b8bae9433d1a245038c23b59168c7bfe1e7ee17 /gcc/jit/ChangeLog
parent27b742094ac0345fbc428b864e1e0c0672a394d3 (diff)
Fix bogus ChangeLog entry from r218521
In r218521 I erroneously added the entries meant for gcc/jit/ChangeLog to gcc/ChangeLog instead. Move them to the correct ChangeLog file. Sorry for the noise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218529 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jit/ChangeLog')
-rw-r--r--gcc/jit/ChangeLog42
1 files changed, 42 insertions, 0 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index 6acd50b22e3..d69571d5342 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -25,6 +25,48 @@
* jit-playback.h (gcc::jit::playback::context::dlopen_built_dso):
New function.
+2014-12-09 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/64166
+ * docs/topics/contexts.rst (Debugging): Add description of
+ gcc_jit_context_enable_dump.
+ * docs/_build/texinfo/libgccjit.texi: Regenerate.
+ * jit-playback.c: Include context.h.
+ (class auto_argvec): New class.
+ (auto_argvec::~auto_argvec): New function.
+ (gcc::jit::playback::context::compile): Convert fake_args to be
+ an auto_argvec, so that it can contain dynamically-allocated
+ strings. Construct a vec of all requested dumps, and pass it to
+ make_fake_args. Extract requested dumps between the calls to
+ toplev::main and toplev::finalize.
+ (gcc::jit::playback::context::make_fake_args): Convert param
+ "argvec" to be a vec <char *>, and gain a "requested_dumps"
+ param. Convert to dynamically-allocated arg strings by converting
+ ADD_ARG to take a copy of the arg, and add ADD_ARG_TAKE_OWNERSHIP
+ for args that are already a copy. Add args for all requested dumps.
+ (gcc::jit::playback::context::extract_any_requested_dumps): New
+ function.
+ (gcc::jit::playback::context::read_dump_file): New function.
+ * jit-playback.h (gcc::jit::playback::context::make_fake_args):
+ Convert param "argvec" to be a vec <char *>, and gain a
+ "requested_dumps" param.
+ (gcc::jit::playback::context::extract_any_requested_dumps): New
+ function.
+ (gcc::jit::playback::context::read_dump_file): New function.
+ * jit-recording.c (gcc::jit::recording::context::enable_dump): New
+ function.
+ (gcc::jit::recording::context::get_all_requested_dumps): New
+ function.
+ * jit-recording.h (gcc::jit::recording::requested_dump): New
+ struct.
+ (gcc::jit::recording::context::enable_dump): New function.
+ (gcc::jit::recording::context::get_all_requested_dumps): New
+ function.
+ (gcc::jit::recording::context::m_requested_dumps): New field.
+ * libgccjit.c (gcc_jit_context_enable_dump): New API entrypoint.
+ * libgccjit.h (gcc_jit_context_enable_dump): New API entrypoint.
+ * libgccjit.map (gcc_jit_context_enable_dump): New API entrypoint.
+
2014-12-08 David Malcolm <dmalcolm@redhat.com>
* libgccjit++.h: Indent the forward declarations of the classes to