From ad6189920be9efcef639185b072d2be4e3a37049 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 6 Oct 2020 09:17:32 -0700 Subject: [PATCH] symbols-check: Add __cxa_guard_* to the list of approved symbols. These are introduced by the compiler during static local initialization in c++ for thread safety. This seems to end up being public in the driver with --static-libc++ on android. Reviewed-by: Part-of: --- bin/symbols-check.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/symbols-check.py b/bin/symbols-check.py index a33d0932ed9..e56b49df10a 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -10,6 +10,9 @@ PLATFORM_SYMBOLS = [ '__bss_end__', '__bss_start__', '__bss_start', + '__cxa_guard_abort', + '__cxa_guard_acquire', + '__cxa_guard_release', '__end__', '_bss_end__', '_edata', @@ -18,7 +21,6 @@ PLATFORM_SYMBOLS = [ '_init', ] - def get_symbols_nm(nm, lib): ''' List all the (non platform-specific) symbols exported by the library