mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-24 17:20:30 +01:00
8afc33ce9f
By default, the start_ip_offset in libunwind's table_entry struct is relative to the unw_dyn_info_t's segbase. This presents a problem for us in conjunction with using LLVM's MCJIT because it likes to spread text sections and the corresponding eh_frame sections quite far apart. This represents my attempt to support this use case in the simplest manner that is backwards compatible, by adding a new format kind (UNW_INFO_FORMAT_REMOTE_TABLE2) that indicates that the `start_ip_offset` should be interpreted as relative to `start_ip` rather than segbase. |
||
---|---|---|
.. | ||
_ReadSLEB.c | ||
_ReadULEB.c | ||
backtrace.c | ||
dyn-cancel.c | ||
dyn-info-list.c | ||
dyn-register.c | ||
flush_cache.c | ||
Gdestroy_addr_space.c | ||
Gdyn-extract.c | ||
Gdyn-remote.c | ||
Gfind_dynamic_proc_info.c | ||
Gget_accessors.c | ||
Gget_fpreg.c | ||
Gget_proc_info_by_ip.c | ||
Gget_proc_name.c | ||
Gget_reg.c | ||
Gput_dynamic_unwind_info.c | ||
Gset_caching_policy.c | ||
Gset_fpreg.c | ||
Gset_reg.c | ||
init.c | ||
Ldestroy_addr_space.c | ||
Ldyn-extract.c | ||
Ldyn-remote.c | ||
Lfind_dynamic_proc_info.c | ||
Lget_accessors.c | ||
Lget_fpreg.c | ||
Lget_proc_info_by_ip.c | ||
Lget_proc_name.c | ||
Lget_reg.c | ||
Lput_dynamic_unwind_info.c | ||
Lset_caching_policy.c | ||
Lset_fpreg.c | ||
Lset_reg.c | ||
mempool.c | ||
strerror.c |