[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 23:03:43 PDT 2018


For the moment I am planning to add it for clang typesystem.


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

From: lldb-dev <lldb-dev-bounces at lists.llvm.org> On Behalf Of Chirag Patel via lldb-dev
Sent: 04 October 2018 11:15
To: lldb-dev at lists.llvm.org
Subject: [lldb-dev] Proposal for bi-endian code debugging support for lldb.

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/652a876e/attachment.html>


More information about the lldb-dev mailing list