summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-12-04 13:23:03 -0800
committerMarge Bot <eric+marge@anholt.net>2020-12-15 19:39:29 +0000
commita8fb7ac1c4f2cee6b2f772efe2a0b503a3480df9 (patch)
treeac8c2093dba9f4e919b5a7ba99878e645cba1f3b /bin
parent39dbf47bfe75231329fa29eb21465d915ba06bc4 (diff)
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 <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7936>
Diffstat (limited to 'bin')
-rw-r--r--bin/symbols-check.py2
1 files changed, 2 insertions, 0 deletions
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',