Skip to content
Snippets Groups Projects
Commit 85878bcf authored by Georgy Kirichenko's avatar Georgy Kirichenko Committed by Vladimir Davydov
Browse files

Do not inline coro unwind function

Do not inline coro_unwcontext because the unwind handler expects
for a separate stack frame.
parent ef749ac3
No related branches found
No related tags found
No related merge requests found
......@@ -209,8 +209,11 @@ unw_getcontext_f(unw_context_t *unw_context, void *stack)
*
* @param @unw_context unwind context to store execution state.
* @param @coro_ctx fiber context to unwind.
*
* Note, this function needs a separate stack frame and therefore
* MUST NOT be inlined.
*/
static void
static void NOINLINE
coro_unwcontext(unw_context_t *unw_context, struct coro_context *coro_ctx)
{
#if __amd64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment