RFC: Turn on -fomit-frame-pointer and -fasynchronous-unwind-tables for Linux/i386

Chris Lattner clattner@apple.com
Thu Jul 15 18:08:00 GMT 2010


On Jul 15, 2010, at 10:42 AM, H.J. Lu wrote:

> Hi,
> 
> This patch turns on -fomit-frame-pointer and -fasynchronous-unwind-tables
> for Linux/i386.  Tested on Linux/ia32 and Linux/x86-64.  I am also
> enclosing a spreadsheet of comparison of shared library segment sizes
> in gcc.  Segment size differences range from -1% to 30%. The smaller
> the DSO size is, the bigger its size increases. Overall, the size
> difference is close to 0%. This comparison may not be typical since
> C++ and Java libraries have .eh_frame sections anyway.  Any comments?

Does glibc backtrace() look at eh_frame on i386?  I suspect that most unwinders don't.  This is a borderline ABI change.

-Chris



More information about the Gcc-patches mailing list