Re: [PATCH, libbacktrace]: Compile with -fasynchronous-unwind-tables

2012-10-01 Thread Ian Lance Taylor
On Mon, Oct 1, 2012 at 2:12 PM, Uros Bizjak wrote: > > Without -fasynchronous-unwind-tables, FDE is not generated for > backtrace_full and backtrace_simple wrappers. Without FDE, unwinding > terminates at these functions. I'm not opposed to -fasynchronous-unwind-tables, but now that you bring it

[PATCH, libbacktrace]: Compile with -fasynchronous-unwind-tables

2012-10-01 Thread Uros Bizjak
Hello! Without -fasynchronous-unwind-tables, FDE is not generated for backtrace_full and backtrace_simple wrappers. Without FDE, unwinding terminates at these functions. Attached patch fixes this problem by adding -fasynchronous-unwind-tables, and this way forcing FDEs for all functions. With thi