diff --git a/lib/asan.cpp b/lib/asan.cpp index 053d1bd3c..1f7d074e6 100644 --- a/lib/asan.cpp +++ b/lib/asan.cpp @@ -4,6 +4,12 @@ #include +extern "C" { + const char* __lsan_default_suppressions() { + return "leak:__static_initialization_and_destruction_0\n"; + } +} + static void swss_asan_sigterm_handler(int signo) { SWSS_LOG_ENTER();