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

Collect call stacks on apple.

This commit is contained in:
Bartosz Taudul
2019-02-20 16:01:41 +01:00
parent 34d24b16bb
commit 22329ae5d9
3 changed files with 93 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ extern "C"
}
#elif TRACY_HAS_CALLSTACK == 2
# include <unwind.h>
#elif TRACY_HAS_CALLSTACK == 3
#elif TRACY_HAS_CALLSTACK >= 3
# include <execinfo.h>
#endif
@@ -90,7 +90,7 @@ static tracy_force_inline void* Callstack( int depth )
return trace;
}
#elif TRACY_HAS_CALLSTACK == 3
#elif TRACY_HAS_CALLSTACK >= 3
static tracy_force_inline void* Callstack( int depth )
{