Compare commits
No commits in common. "adbb4fd0d1f7abffd0c1eb8cc3ece74d19789b66" and "4f7e8ae39fea8b0f7fe309eaa96fded397f32b91" have entirely different histories.
adbb4fd0d1
...
4f7e8ae39f
@ -6,7 +6,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
|
#if !defined(MIJIN_COROUTINE_ENABLE_DEBUG_INFO)
|
||||||
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0 // Capture stack each time a coroutine is started. Warning, expensive! // TODO: maybe implement a lighter version only storing the return address?
|
#if defined(MIJIN_DEBUG)
|
||||||
|
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 1
|
||||||
|
#else
|
||||||
|
# define MIJIN_COROUTINE_ENABLE_DEBUG_INFO 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <any>
|
#include <any>
|
||||||
|
|||||||
@ -54,7 +54,7 @@ void backtraceErrorCallback(void* data, const char* msg, int /* errnum */)
|
|||||||
btData.error = msg;
|
btData.error = msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
thread_local backtrace_state* gBacktraceState = nullptr;
|
backtrace_state* gBacktraceState = nullptr;
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user