]> git.eshelyaron.com Git - emacs.git/commit
Simplify use of __lsan_ignore_object
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 3 Aug 2020 22:21:59 +0000 (15:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 4 Aug 2020 02:08:58 +0000 (19:08 -0700)
commita1436544ff826b8c51242f4afb7c5d485c8e2e32
tree05806e744974863a62ef5b2e903b062ca2c7545f
parenta4ed198e8f3754a59cabbb03ab6bae8a49597ee0
Simplify use of __lsan_ignore_object

* configure.ac: Use AC_CHECK_FUNCS_ONCE for __lsan_ignore_object.
* src/buffer.c, src/data.c, src/emacs-module.c, src/regex-emacs.c:
* src/search.c: Use __lsan_ignore_object unconditionally, and don’t
include sanitizer/lsan_interface.h.
* src/lisp.h (__lsan_ignore_object): Provide a dummy in the
typical case where leak sanitization is not available.
configure.ac
src/buffer.c
src/data.c
src/emacs-module.c
src/lisp.h
src/regex-emacs.c
src/search.c