On Sat, Jun 7, 2014 at 7:12 AM, Dmitri Shubin <[email protected]> wrote:
> Hello,
>
> I need to resolve function name by its IP, but found only
> unw_get_proc_name() which needs cursor and unw_get_proc_info_by_ip() which
> doesn't return function name.
> After checking source I found src/mi/Gget_proc_name.c:get_proc_name() static
> function which does exactly what I need.
> Is it ok to export it as unw_get_proc_name_by_ip() ?
>
> I attached patch that does exactly that and it seems to work fine for me
> (local unwinding, linux, x86_64).

http://lists.nongnu.org/archive/html/libunwind-devel/2012-01/msg00002.html

It's not clear that libunwind is the best library to do this.

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to