boostorg / stacktrace

C++ library for storing and printing backtraces.
https://boost.org/libs/stacktrace
422 stars 70 forks source link

Is Android supported? #117

Open Klayflash opened 2 years ago

Klayflash commented 2 years ago

Hello! Thanks for wonderful library. I use it on windows platform successfully.

I tried to use on android platform but without success. Addresses are printed but ndk-stack can't symbolicate.

example of boost stacktrace address: 0# 0xE8AA7B0F in /data/app/~~-pG4SOLsXq-askw4UHs24w==/com.example.Tests-3D6sv-1TK9A3AFG6r9TO8g==/lib/x86/libmain.so

addresses from xunwind_cfi_get function can be symbolicated successfully: #00 pc 001b5548 /data/app/~~-pG4SOLsXq-askw4UHs24w==/com.example.Tests-3D6sv-1TK9A3AFG6r9TO8g==/lib/x86/libmain.so