debug: asan: Added leak suppression for SDL2 & X11

Added leak suppression, by implementing __lsan_default_suppressions
function, for SDL2 and X11 library which are used by the SDL display
driver.

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
Jan Van Winkel 2019-11-03 13:39:33 +01:00 committed by Anas Nashif
commit 3da873a0c0
5 changed files with 57 additions and 20 deletions

View file

@ -7,7 +7,7 @@ zephyr_sources_ifdef(
zephyr_sources_ifdef(
CONFIG_ASAN
asan.c
asan_hacks.c
)
add_subdirectory(tracing)