diff options
author | Philipp Stephani <phst@google.com> | 2020-08-01 17:12:30 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-08-01 17:12:30 +0200 |
commit | 06310cf9122500faa96ad200888cfbb1dda56563 (patch) | |
tree | eb7065cdedd8deef2cb55130bf8ff7de305112a9 /src/search.c | |
parent | a2323c7ccb0eab1b6395d5d1d7e18db617354e13 (diff) | |
download | emacs-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/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index ad5d0302932..7b74ff91480 100644 --- a/src/search.c +++ b/src/search.c @@ -619,7 +619,7 @@ newline_cache_on_off (struct buffer *buf) if (base_buf->newline_cache == 0) { base_buf->newline_cache = new_region_cache (); -#ifdef HAVE_SANITIZER_LSAN_INTERFACE_H +#ifdef HAVE___LSAN_IGNORE_OBJECT __lsan_ignore_object (base_buf->newline_cache); #endif } |