libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Get a wrong offset with unw_get_proc_name on x86_6


From: Arun Sharma
Subject: Re: [Libunwind-devel] Get a wrong offset with unw_get_proc_name on x86_64
Date: Thu, 8 Jan 2015 11:50:27 -0800

On Wed, Jan 7, 2015 at 9:52 AM, Matthias Bartelt
<address@hidden> wrote:
> Have a program which prints some information like the IP or the offset with
> the help unw_get_proc_name(). Unfortunately the obtained offset differs from
> the real one - which I checked with GDB or with libc's backtrace() function.
> Other things like the IP are correct.
>
> Is there a known issue with getting the offset or missed I something? I'm
> working with version 1.1 under Ubuntu 14.04 64-bit.

We sometimes have to adjust the IP by 1 byte to deal with edge cases.
Could you share a minimal repro?

 -Arun



reply via email to

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