|
From: | Keno Fischer |
Subject: | Re: [Libunwind-devel] [PATCH] Add an option to have start_ip_offset be relative to start_ip |
Date: | Mon, 5 Oct 2015 01:30:24 -0400 |
By default, the start_ip_offset in libunwind's table_entry struct isrelative to the unw_dyn_info_t's segbase. This presents a problemfor us in conjunction with using LLVM's MCJIT because it likes tospread text sections and the corresponding eh_frame sections quitefar apart. This represents my attempt to support this use case in thesimplest manner that is backwards compatible, by adding a new formatkind (UNW_INFO_FORMAT_REMOTE_TABLE2) that indicates that the`start_ip_offset` should be interpreted as relative to `start_ip`rather than segbase.
[Prev in Thread] | Current Thread | [Next in Thread] |