; Fix doc strings of recent changes

* src/comp.c (syms_of_comp) <comp-sanitizer-active>:
* lisp/emacs-lisp/comp.el (comp-sanitizer-emit): Doc fixes.
This commit is contained in:
Eli Zaretskii 2024-03-20 14:27:25 +02:00
parent e8d2bc7531
commit 1475e3c3b5
2 changed files with 7 additions and 5 deletions

View file

@ -3019,7 +3019,8 @@ These are substituted with a normal `set' op."
(defvar comp-sanitizer-emit nil
"Gates the sanitizer pass.
In use for native compiler development and verification only.")
This is intended to be used only for development and verification of
the native compiler.")
(defun comp--sanitizer (_)
(when comp-sanitizer-emit

View file

@ -5931,10 +5931,11 @@ For internal use. */);
Vcomp_subr_arities_h = CALLN (Fmake_hash_table, QCtest, Qequal);
DEFVAR_BOOL ("comp-sanitizer-active", comp_sanitizer_active,
doc: /* When non-nil enable sanitizer runtime execution.
To be effective Lisp Code must have been compiled with
`comp-sanitizer-emit' non-nil.
In use for native compiler development and verification only. */);
doc: /* If non-nil, enable runtime execution of native-compiler sanitizer.
For this to be effective, Lisp code must be compiled
with `comp-sanitizer-emit' non-nil.
This is intended to be used only for development and
verification of the native compiler. */);
comp_sanitizer_active = false;
Fprovide (intern_c_string ("native-compile"), Qnil);