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



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

Reply via email to