diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-01-08 00:44:55 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-01-09 12:06:45 +0100 |
commit | 325c0765dfa4ef363d4f29650568bdafce0f0971 (patch) | |
tree | 827fad648fc0f00e24c6b570229470d3580ddceb /lisp/emacs-lisp | |
parent | 400f620f24b90540f71673a998c41327237330be (diff) | |
download | emacs-325c0765dfa4ef363d4f29650568bdafce0f0971.tar.gz emacs-325c0765dfa4ef363d4f29650568bdafce0f0971.tar.bz2 emacs-325c0765dfa4ef363d4f29650568bdafce0f0971.zip |
Add new customize `comp-libgccjit-reproducer'
* lisp/emacs-lisp/comp.el (comp-libgccjit-reproducer): New customize.
* src/comp.c (Fcomp__compile_ctxt_to_file): Use
`comp-libgccjit-reproducer' for dumping repoducer.
(syms_of_comp): Define 'Qcomp_libgccjit_reproducer'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index d1953b59f04..79cf942e89d 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -136,6 +136,12 @@ Passing these options is only available in libgccjit version 9 and above." :type 'list) +(defcustom comp-libgccjit-reproducer nil + "When non-nil produce a libgccjit reproducer. +The reproducer is a file comp_SRCNAME_repro.c deposed in the .eln +output directory." + :type 'boolean) + (defvar comp-dry-run nil "If non-nil, run everything but the C back-end.") |