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

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

Ping!