summaryrefslogtreecommitdiff
path: root/src/regex-emacs.c
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-08-01 17:12:30 +0200
committerPhilipp Stephani <phst@google.com>2020-08-01 17:12:30 +0200
commit06310cf9122500faa96ad200888cfbb1dda56563 (patch)
treeeb7065cdedd8deef2cb55130bf8ff7de305112a9 /src/regex-emacs.c
parenta2323c7ccb0eab1b6395d5d1d7e18db617354e13 (diff)
downloademacs-06310cf9122500faa96ad200888cfbb1dda56563.tar.gz
emacs-06310cf9122500faa96ad200888cfbb1dda56563.tar.bz2
emacs-06310cf9122500faa96ad200888cfbb1dda56563.zip
Use a more precise check for '__lsan_ignore_object'
* configure.ac: Add check for __lsan_ignore_object. * src/buffer.c (enlarge_buffer_text): * src/data.c (make_blv): * src/emacs-module.c (Fmodule_load, initialize_environment): * src/regex-emacs.c (regex_compile): * src/search.c (newline_cache_on_off): Use new configuration macro.
Diffstat (limited to 'src/regex-emacs.c')
-rw-r--r--src/regex-emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 5c08c81c0b5..1ecbc74b96c 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -1761,7 +1761,7 @@ regex_compile (re_char *pattern, ptrdiff_t size,
/* Initialize the compile stack. */
compile_stack.stack = xmalloc (INIT_COMPILE_STACK_SIZE
* sizeof *compile_stack.stack);
-#ifdef HAVE_SANITIZER_LSAN_INTERFACE_H
+#ifdef HAVE___LSAN_IGNORE_OBJECT
__lsan_ignore_object (compile_stack.stack);
#endif
compile_stack.size = INIT_COMPILE_STACK_SIZE;