|
From: | Doug Moore |
Subject: | [Libunwind-devel] unw_get_proc_info never gets unwind info |
Date: | Tue, 11 Apr 2017 00:16:33 -0500 |
User-agent: | Internet Messaging Program (IMP) H5 (6.1.7) |
For x86_64, specifically, and for dwarf generally, unw_get_proc_info does not set the unwind_info field of the unw_proc_info_t to any non-NULL value, ever. That is because dwarf_make_proc_info passes 0 as the last argument to fetch_proc_info, so that dwarf_extract_proc_info_from_fde ends up not copying unwind info.
How can one get the actual unwind info out of unw_get_proc_info? Doug Moore
[Prev in Thread] | Current Thread | [Next in Thread] |