Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-09 Thread Tom de Vries
On 09-02-19 22:07, Ian Lance Taylor wrote: > On Fri, Feb 8, 2019 at 9:26 AM Thomas Schwinge > wrote: >> >> On Fri, 8 Feb 2019 10:41:47 +0100, Tom de Vries wrote: >>> The backtrace functions backtrace_full, backtrace_print and backtrace_simple >>> walk the call stack, but make sure to skip the fi

Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-09 Thread Tom de Vries
On 09-02-19 22:07, Ian Lance Taylor wrote: > On Fri, Feb 8, 2019 at 9:26 AM Thomas Schwinge > wrote: >> >> On Fri, 8 Feb 2019 10:41:47 +0100, Tom de Vries wrote: >>> The backtrace functions backtrace_full, backtrace_print and backtrace_simple >>> walk the call stack, but make sure to skip the fi

Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-09 Thread Ian Lance Taylor
On Fri, Feb 8, 2019 at 9:26 AM Thomas Schwinge wrote: > > On Fri, 8 Feb 2019 10:41:47 +0100, Tom de Vries wrote: > > The backtrace functions backtrace_full, backtrace_print and backtrace_simple > > walk the call stack, but make sure to skip the first entry, in order to skip > > over the functions

Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-09 Thread Tom de Vries
On 08-02-19 18:25, Thomas Schwinge wrote: > Hi Tom! > > On Fri, 8 Feb 2019 10:41:47 +0100, Tom de Vries wrote: >> The backtrace functions backtrace_full, backtrace_print and backtrace_simple >> walk the call stack, but make sure to skip the first entry, in order to skip >> over the functions them

Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-08 Thread Thomas Schwinge
Hi Tom! On Fri, 8 Feb 2019 10:41:47 +0100, Tom de Vries wrote: > The backtrace functions backtrace_full, backtrace_print and backtrace_simple > walk the call stack, but make sure to skip the first entry, in order to skip > over the functions themselves, and start the backtrace at the caller of th

Re: [PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-08 Thread Richard Biener
On Fri, Feb 8, 2019 at 10:41 AM Tom de Vries wrote: > > Hi, > > The backtrace functions backtrace_full, backtrace_print and backtrace_simple > walk the call stack, but make sure to skip the first entry, in order to skip > over the functions themselves, and start the backtrace at the caller of the

[PATCH][libbacktrace] Declare external backtrace fns noinline

2019-02-08 Thread Tom de Vries
Hi, The backtrace functions backtrace_full, backtrace_print and backtrace_simple walk the call stack, but make sure to skip the first entry, in order to skip over the functions themselves, and start the backtrace at the caller of the functions. When compiling with -flto, the functions may be inli