libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Comparing libunwind on freebsd 7.2 and linux x86


From: Shravan Gaonkar
Subject: Re: [Libunwind-devel] Comparing libunwind on freebsd 7.2 and linux x86 32 OS: found a discrepancy
Date: Mon, 12 Apr 2010 11:41:34 -0700

Hi Arun,
 You were right. I had different optimization level set in bsd (O2)
and linux (O0).
The compiler inlined foo in bsd.

Thanks
 shravan

On Mon, Apr 12, 2010 at 11:17 AM, Arun Sharma <address@hidden> wrote:
> On Mon, Apr 12, 2010 at 10:57 AM, Shravan Gaonkar <address@hidden> wrote:
>>
>> Hi guys,
>>  I was checking the verbose mode of each test case of libunwind and I
>> hit on the following issue.
>> I ran Gtest-bt -V on both linux and freebsd.
>>
>> The function "foo" is missing in the backtrace of bsd 32 bit. Any
>> thoughts?
>>
>
> The compiler inlined foo on BSD but not on Linux? Could you check or post
> the disassembly for foo() and bar()?
>  -Arun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]