aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-01 18:53:44 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-01 18:53:44 +0000
commit81ba15f10524cc46bf2afbe4fc07f783315c6d94 (patch)
tree56446588235a20b6aa0e37b8d938ae3c78c7421e /libgomp
parentad1f2178c1843170c80c027f62594dba3c600d69 (diff)
downloadgcc-81ba15f10524cc46bf2afbe4fc07f783315c6d94.zip
gcc-81ba15f10524cc46bf2afbe4fc07f783315c6d94.tar.gz
gcc-81ba15f10524cc46bf2afbe4fc07f783315c6d94.tar.bz2
Improvements to documentation of gcc_jit_context_release
gcc/jit/ChangeLog: * docs/examples/tut02-square.c (main): Release the context earlier, to show that this is possible. Update error-handling to avoid a double-release of the context, and to avoid releasing a NULL result. * docs/intro/tutorial02.rst: Discuss gcc_jit_context_release. * docs/topics/functions.rst (GCC_JIT_FUNCTION_EXPORTED): Emphasize * docs/topics/results.rst (gcc_jit_result): Mention that this controls the lifetimes of machine code functions. (gcc_jit_result_get_code): Spell out the requirements for this to succeed, and the lifetime of the result. (gcc_jit_result_release): Mention that this invalidates any code that was obtained from the result. * docs/_build/texinfo/libgccjit.texi: Regenerate. From-SVN: r218245
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions