At my organization, we've been using libunwind to get the stack trace of native crashes and dumping that into a log file in order diagnose bugs reported by customers. The native component of our application targets armeabi-v7. We're in the process of updating our software to target arm64-v8a.
There doesn't seem to be a arm64-v8a version of libunwind. I've looked into the NDK files and I can only see a libunwind.a in the arm-linux-androideabi folder. I cannot see a libunwind.a inside the aarch64-linux-android folder. As a result, when building the project the linker will fail to link in symbols for libunwind methods when building for 64bit ARM.
Is there any way to get the native stack trace inside a signal handler for ARM64?