[Lldb-commits] 64bit eh_frame support

Todd Fiala tfiala at google.com
Mon Aug 25 14:49:04 PDT 2014


Submitted.

svn commit
Sending        source/Symbol/DWARFCallFrameInfo.cpp
Transmitting file data .
Committed revision 216409.



On Mon, Aug 25, 2014 at 2:46 PM, Todd Fiala <tfiala at google.com> wrote:

> Great, will do - thanks Jason!
>
>
> On Mon, Aug 25, 2014 at 2:44 PM, Jason Molenda <jmolenda at apple.com> wrote:
>
>> Ah sorry I missed that patch.
>>
>> Yes, this looks correct, please commit.
>>
>>
>> > On Aug 25, 2014, at 1:41 PM, Todd Fiala <tfiala at google.com> wrote:
>> >
>> > Bump!
>> >
>> >
>> > On Fri, Aug 15, 2014 at 3:30 PM, Tong Shen <endlessroad at google.com>
>> wrote:
>> > Hi Jason,
>> >
>> > Attached patch adds 64bit eh_frame section support.
>> >
>> > In practice, 64bit eh_frame is not used even for x86_64 binaries. The
>> main reason is in eh_frame we almost always use pc-relative addressing, so
>> addresses are within 32bits and gcc just sticks to 32bit eh_frame.
>> >
>> > I generated 64bit eh_frame for Android Java runtime and unwind
>> successfully in gdb, and in lldb with this patch.
>> >
>> > Also, I double checked with gdb source code(decode_frame_entry_1) and
>> libunwind source code(parse_cie & dwarf_extract_proc_info_from_fde) to make
>> sure my understanding is correct.
>> >
>> > Thank you.
>> >
>> > --
>> > Best Regards, Tong Shen
>> >
>> > _______________________________________________
>> > lldb-commits mailing list
>> > lldb-commits at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>> >
>> >
>> >
>> >
>> > --
>> > Todd Fiala |   Software Engineer |     tfiala at google.com |
>> 650-943-3180
>> >
>> > _______________________________________________
>> > lldb-commits mailing list
>> > lldb-commits at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>>
>>
>
>
> --
> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>



-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140825/46265341/attachment.html>


More information about the lldb-commits mailing list