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 <[email protected]> wrote: > On Mon, Apr 12, 2010 at 10:57 AM, Shravan Gaonkar <[email protected]> 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 _______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
