debug: Disable "at exit" LSAN leak check

Disable "at exit" memory leak check by LSAN if building for a 64-bit
target with GCC. This is need to fix a potential deadlock in GCCs
libasan implementation.

Fixes #20122

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
Jan Van Winkel 2019-10-27 14:50:25 +01:00 committed by Andrew Boie
commit 4286cb830f
3 changed files with 28 additions and 0 deletions

View file

@ -5,4 +5,9 @@ zephyr_sources_ifdef(
openocd.c
)
zephyr_sources_ifdef(
CONFIG_ASAN
asan.c
)
add_subdirectory(tracing)