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
+2 -2
View File
@@ -9,7 +9,7 @@ extern "C"
typedef unsigned long (__stdcall *t_RtlWalkFrameChain)( void**, unsigned long, unsigned long );
extern t_RtlWalkFrameChain RtlWalkFrameChain;
}
#elif TRACY_HAS_CALLSTACK == 2
#elif TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 5
# include <unwind.h>
#elif TRACY_HAS_CALLSTACK >= 3
# include <execinfo.h>
@@ -58,7 +58,7 @@ static tracy_force_inline void* Callstack( int depth )
return trace;
}
#elif TRACY_HAS_CALLSTACK == 2
#elif TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 5
struct BacktraceState
{