mdbx: refine built-in ASAN option.

This commit is contained in:
Leonid Yuriev 2021-07-16 15:44:40 +03:00
parent d67b9eaf17
commit 28c36af67c

View File

@ -22283,9 +22283,11 @@ __dll_export
#ifdef __SANITIZE_ADDRESS__
LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options() {
return "symbolize=1:allow_addr2line=1:"
#ifdef _DEBUG
#if MDBX_DEBUG
"debug=1:"
#endif /* _DEBUG */
"verbosity=2:"
#endif /* MDBX_DEBUG */
"log_threads=1:"
"report_globals=1:"
"replace_str=1:replace_intrin=1:"
"malloc_context_size=9:"