Variable: comp-sanitizer-emit
comp-sanitizer-emit is a variable defined in comp.el.gz.
Value
nil
Documentation
Gates the sanitizer pass.
This is intended to be used only for development and verification of the native compiler.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;;; Sanitizer pass specific code.
;; This pass aims to verify compile-time value-type predictions during
;; execution of the code.
;; The sanitizer pass injects a call to 'helper_sanitizer_assert' before
;; each conditional branch. 'helper_sanitizer_assert' will verify that
;; the variable tested by the conditional branch is of the predicted
;; value type, or signal an error otherwise.
;;; Example:
;; Assume we want to compile 'test.el' and test the function `foo'
;; defined in it. Then:
;; - Native-compile 'test.el' instrumenting it for sanitizer usage:
;; (let ((comp-sanitizer-emit t))
;; (load (native-compile "test.el")))
;; - Run `foo' with the sanitizer active:
;; (let ((comp-sanitizer-active t))
;; (foo))
(defvar comp-sanitizer-emit nil
"Gates the sanitizer pass.
This is intended to be used only for development and verification of
the native compiler.")