[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH] Add an option to have start_ip_offset be relat

From: Keno Fischer
Subject: [Libunwind-devel] [PATCH] Add an option to have start_ip_offset be relative to start_ip
Date: Thu, 30 Jul 2015 16:40:46 -0400

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.

Attachment: 0001-Add-an-option-to-have-start_ip_offset-be-relative-to.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]