From 70333e3b5f64055e4f3727f428ef3b7f2e700793 Mon Sep 17 00:00:00 2001 From: qimiko <25387744+qimiko@users.noreply.github.com> Date: Sat, 22 Jun 2024 17:19:33 -0700 Subject: [PATCH] keep the unwinds --- app/src/main/cpp/launcher-fix.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/launcher-fix.cpp b/app/src/main/cpp/launcher-fix.cpp index ebc6644..f81276c 100644 --- a/app/src/main/cpp/launcher-fix.cpp +++ b/app/src/main/cpp/launcher-fix.cpp @@ -149,9 +149,12 @@ std::vector get_symbols_listing() { "__cxa_guard_abort", "__cxa_guard_acquire", "__cxa_guard_release", - "__cxa_free_exception", - "_Unwind_RaiseException", - "_Unwind_Resume" + "__cxa_free_exception" + + // android 10's libc doesn't have these symbols + // and the ndk is forbidden from exporting them!! so keep it for old mods... + // "_Unwind_RaiseException", + // "_Unwind_Resume" }; }