mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -08:00
Rework native compilation `comp-debug' (bug#46495)
* lisp/emacs-lisp/comp.el (comp-debug): Update docstring and move default on Windows systems from 0 to 1. * src/comp.c (Fcomp__compile_ctxt_to_file): Tweak debug levels.
This commit is contained in:
parent
613caa9527
commit
53ca0d9844
2 changed files with 8 additions and 8 deletions
|
|
@ -56,14 +56,14 @@
|
|||
:safe #'integerp
|
||||
:version "28.1")
|
||||
|
||||
(defcustom comp-debug 0
|
||||
(defcustom comp-debug (if (eq 'windows-nt system-type) 1 0)
|
||||
"Debug level for native compilation, a number between 0 and 3.
|
||||
This is intended for debugging the compiler itself.
|
||||
0 no debugging output.
|
||||
This is the recommended value unless you are debugging the compiler itself.
|
||||
1 emit debug symbols and dump pseudo C code.
|
||||
2 dump gcc passes.
|
||||
3 dump libgccjit log file."
|
||||
0 no debug output.
|
||||
1 emit debug symbols.
|
||||
2 emit debug symbols and dump pseudo C code.
|
||||
3 emit debug symbols and dump: pseudo C code, GCC intermediate
|
||||
passes and libgccjit log file."
|
||||
:type 'integer
|
||||
:safe #'natnump
|
||||
:version "28.1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue