From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 035202C2EF for ; Wed, 31 Oct 2018 06:49:08 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HUkj6-DQ5vjy for ; Wed, 31 Oct 2018 06:49:07 -0400 (EDT) Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id B40812C2BC for ; Wed, 31 Oct 2018 06:49:07 -0400 (EDT) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH v3 1/4] fiber: do not inline coro unwind function Date: Wed, 31 Oct 2018 13:49:10 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Georgy Kirichenko Do not inline coro_unwcontext because the unwind handler expects for a separate stack frame. --- src/backtrace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backtrace.cc b/src/backtrace.cc index 2512bc045..d6be97621 100644 --- a/src/backtrace.cc +++ b/src/backtrace.cc @@ -210,7 +210,7 @@ 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. */ -static void +static void NOINLINE coro_unwcontext(unw_context_t *unw_context, struct coro_context *coro_ctx) { #if __amd64 -- 2.19.1