1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Callstack decode for android api <= 21.

libbacktrace/elf.cpp:3249:3: error: use of undeclared identifier 'dl_iterate_phdr'
This commit is contained in:
Bartosz Taudul
2019-05-22 14:14:30 +02:00
parent 84efe070fe
commit 340837e202
3 changed files with 114 additions and 4 deletions
+5 -1
View File
@@ -4,7 +4,11 @@
#if defined _WIN32 || defined __CYGWIN__
# define TRACY_HAS_CALLSTACK 1
#elif defined __ANDROID__
# define TRACY_HAS_CALLSTACK 2
# if !defined __arm__ || __ANDROID_API__ >= 21
# define TRACY_HAS_CALLSTACK 2
# else
# define TRACY_HAS_CALLSTACK 5
# endif
#elif defined __linux
# if defined _GNU_SOURCE && defined __GLIBC__
# define TRACY_HAS_CALLSTACK 3