[lldb-dev] Proposal for bi-endian code debugging support for lldb.

Chirag Patel via lldb-dev lldb-dev at lists.llvm.org
Wed Oct 3 22:44:42 PDT 2018


Hello,

Kindly correct me if I am wrong.

Now llvm has the interface to set endianity on base_types, I am looking into the support for lldb to debug bi-endian code (with attribute DW_AT_endianity).
Currently I am planning to record the endianity/byte-order in CompilerType object with context and type(inclue/lldb/Symbol/ConpilerType.h) and pass it along to the parent(struct/union) and while reading/wrinting data using data-extractor setting the byte order on that.
Any suggestions are welcomed.

Regards,

Chirag Patel| Software Engineer
RAINCODE Mainframe to .NET
Tel : +91 080 41159811 | Mob : +91 90493 36744
www.raincodelabs.com<http://www.raincodelabs.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20181004/e59984d5/attachment.html>


More information about the lldb-dev mailing list