On Wed, Oct 15, 2014 at 1:43 PM, Ryan Brown <rib...@google.com> 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?
>

IMO the SysV AMD64 psABI blesses .eh_frame as something that programs can
rely on for unwind info, while .debug_frame is only covered by DWARF. The
way I see it, the ABI takes precedence over the previous way of storing
unwind info. On the other hand if Go never wants to coexist with any other
exception-using or stack crawling code, then maybe omitting it makes sense.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to