mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 01:34:12 +08:00
mdbx: refine built-in ASAN option.
This commit is contained in:
parent
d67b9eaf17
commit
28c36af67c
@ -22283,9 +22283,11 @@ __dll_export
|
|||||||
#ifdef __SANITIZE_ADDRESS__
|
#ifdef __SANITIZE_ADDRESS__
|
||||||
LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options() {
|
LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options() {
|
||||||
return "symbolize=1:allow_addr2line=1:"
|
return "symbolize=1:allow_addr2line=1:"
|
||||||
#ifdef _DEBUG
|
#if MDBX_DEBUG
|
||||||
"debug=1:"
|
"debug=1:"
|
||||||
#endif /* _DEBUG */
|
"verbosity=2:"
|
||||||
|
#endif /* MDBX_DEBUG */
|
||||||
|
"log_threads=1:"
|
||||||
"report_globals=1:"
|
"report_globals=1:"
|
||||||
"replace_str=1:replace_intrin=1:"
|
"replace_str=1:replace_intrin=1:"
|
||||||
"malloc_context_size=9:"
|
"malloc_context_size=9:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user