• Paul Eggert's avatar
    Simplify use of __lsan_ignore_object · a1436544
    Paul Eggert authored
    * 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.
    a1436544