[lldb-dev] eh_frame or debug_frame

Joerg Sonnenberger joerg at britannica.bec.de
Wed Oct 15 13:55:51 PDT 2014


On Wed, Oct 15, 2014 at 01:43:08PM -0700, Ryan Brown wrote:
> Go doesn't have exception handlers, so it doesn't write .eh_frame. Wouldn't
> it make sense to use .debug_frame if .eh_frame is missing?

.eh_frame is used for more than exception handlers, it is also used for
backtraces e.g. in SIGSEGV handlers. The difference is that .debug_frame
is normally not mapped, so it is not easily available.

Joerg



More information about the lldb-dev mailing list