]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgccjit: Add option to allow special characters in function names
authorAntoni Boucher <bouanto@zoho.com>
Thu, 15 Feb 2024 22:03:22 +0000 (17:03 -0500)
committerAntoni Boucher <bouanto@zoho.com>
Wed, 20 Nov 2024 15:46:45 +0000 (10:46 -0500)
commitede14092bc33e182ee6c811c335bf9aac789d7be
treec7a085cdffdccd0958f6cc4da3465dd893ffbdc1
parent452abe143e8b9254139f188fce7a674700a10d98
libgccjit: Add option to allow special characters in function names

gcc/jit/ChangeLog:

* docs/topics/contexts.rst: Add documentation for new option.
* jit-recording.cc (recording::context::get_str_option): New
method.
* jit-recording.h (get_str_option): New method.
* libgccjit.cc (gcc_jit_context_new_function): Allow special
characters in function names.
* libgccjit.h (enum gcc_jit_str_option): New option.

gcc/testsuite/ChangeLog:

* jit.dg/test-special-chars.c: New test.
gcc/jit/docs/topics/contexts.rst
gcc/jit/jit-recording.cc
gcc/jit/jit-recording.h
gcc/jit/libgccjit.cc
gcc/jit/libgccjit.h
gcc/testsuite/jit.dg/test-special-chars.c [new file with mode: 0644]