From a8fb7ac1c4f2cee6b2f772efe2a0b503a3480df9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 4 Dec 2020 13:23:03 -0800 Subject: [PATCH] mapi: Fix symbols check with ASan enabled. ASan apparently introduces public symbols with __odr_asan as the prefix. Fixes unit tests when building with ASan. Reviewed-by: Adam Jackson Part-of: --- bin/symbols-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/symbols-check.py b/bin/symbols-check.py index e56b49df10a..c53b20bccbf 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -14,6 +14,8 @@ PLATFORM_SYMBOLS = [ '__cxa_guard_acquire', '__cxa_guard_release', '__end__', + '__odr_asan._glapi_Context', + '__odr_asan._glapi_Dispatch', '_bss_end__', '_edata', '_end',