This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Jul 15, 2010 at 11:08 AM, Chris Lattner <clattner@apple.com> wrote:
>
> 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.
>

It does:

http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=sysdeps/i386/backtrace.c;hb=HEAD


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]