diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2022-11-15 09:48:02 +0100 |
---|---|---|
committer | Helen Koike <helen.koike@collabora.com> | 2023-01-25 08:58:25 -0300 |
commit | b1bd6aa21a83ef12bf6dbc15d262a8d38989022b (patch) | |
tree | 4c04a94402b55046780d84ccb8b23b3cc3322caf /bin | |
parent | 0e286d0dbcce3e3a49fa4ae54a237afd08954a78 (diff) | |
download | mesa-b1bd6aa21a83ef12bf6dbc15d262a8d38989022b.tar.gz |
android: Make libbacktrace optional again
For the same reason why we used to have USE_LIBBACKTRACE with the old
Android makefiles, allow to build Mesa without linking to it.
In recent VNDK versions, libbacktrace isn't available.
When building without linking libbacktrace, for some reason some symbols
related to C++ exception handling are exposed. Allow them in the symbols
check script.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/symbols-check.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bin/symbols-check.py b/bin/symbols-check.py index dd36470d768..12c63812c9a 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -13,6 +13,34 @@ PLATFORM_SYMBOLS = [ '__cxa_guard_abort', '__cxa_guard_acquire', '__cxa_guard_release', + '__cxa_allocate_dependent_exception', + '__cxa_allocate_exception', + '__cxa_begin_catch', + '__cxa_call_unexpected', + '__cxa_current_exception_type', + '__cxa_current_primary_exception', + '__cxa_decrement_exception_refcount', + '__cxa_deleted_virtual', + '__cxa_demangle', + '__cxa_end_catch', + '__cxa_free_dependent_exception', + '__cxa_free_exception', + '__cxa_get_exception_ptr', + '__cxa_get_globals', + '__cxa_get_globals_fast', + '__cxa_increment_exception_refcount', + '__cxa_new_handler', + '__cxa_pure_virtual', + '__cxa_rethrow', + '__cxa_rethrow_primary_exception', + '__cxa_terminate_handler', + '__cxa_throw', + '__cxa_uncaught_exception', + '__cxa_uncaught_exceptions', + '__cxa_unexpected_handler', + '__dynamic_cast', + '__emutls_get_address', + '__gxx_personality_v0', '__end__', '__odr_asan._glapi_Context', '__odr_asan._glapi_Dispatch', |