If unwind info is not available at the current IP, unw_get_proc_info should return a zero-filled structure rather than the info of the previous IP.
This change also makes unw_get_proc_info return UNW_ENOINFO instead of UNW_ESUCCESS.
Would be nice if we could have a test case for this.
Can the runtimes repo maintainers @mclow.lists @ldionne @EricWF give this an ack aswell?
@Amanieu Do you need someone to commit this for you?
Added a test.
@mstorsjo Yes, I need someone to commit this for me.