diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-02-21 22:31:45 +0100 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-03-20 09:51:10 +0100 |
commit | 0b0c7da8c80a1e4dc328459f3403f358736ae90d (patch) | |
tree | 87409bf2d6fbec82cbbe0b646187d0fcc1cddd5a /lisp/emacs-lisp/warnings.el | |
parent | e72f17e4622fae45c9814f6ed196e5a9ed06cdd2 (diff) | |
download | emacs-0b0c7da8c80a1e4dc328459f3403f358736ae90d.tar.gz emacs-0b0c7da8c80a1e4dc328459f3403f358736ae90d.tar.bz2 emacs-0b0c7da8c80a1e4dc328459f3403f358736ae90d.zip |
Add native compiler sanitizer
* src/comp.c (ABI_VERSION): Bump new version.
(CALL0I): Uncomment.
(helper_link_table, declare_runtime_imported_funcs): Add
'helper_sanitizer_assert'.
(Fcomp__init_ctxt): Register emitter for
'helper_sanitizer_assert'.
(helper_sanitizer_assert): New function.
(syms_of_comp): 'helper_sanitizer_assert' defsym.
(syms_of_comp): 'comp-sanitizer-error' define error.
(syms_of_comp): 'comp-sanitizer-active' defvar.
* lisp/emacs-lisp/comp.el (comp-passes): Add 'comp--sanitizer'.
(comp-sanitizer-emit): Define var.
(comp--sanitizer): Define function.
* lisp/emacs-lisp/comp-run.el (comp-run-async-workers): Forward
'comp-sanitizer-emit'.
Diffstat (limited to 'lisp/emacs-lisp/warnings.el')
0 files changed, 0 insertions, 0 deletions