https://bugs.llvm.org/show_bug.cgi?id=37950
Bug ID: 37950
Summary: ExecutionContext::GetByteOrder() always returns
endian::InlHostByteOrder()
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: ramana.venka...@gmail.com
CC: llvm-b...@lists.llvm.org
Created attachment 20471
--> https://bugs.llvm.org/attachment.cgi?id=20471&action=edit
Patch
lldb::ByteOrder ExecutionContext::GetByteOrder() const {
if (m_target_sp && m_target_sp->GetArchitecture().IsValid())
m_target_sp->GetArchitecture().GetByteOrder();
if (m_process_sp)
m_process_sp->GetByteOrder();
return endian::InlHostByteOrder();
}
As can be seen from the above piece of code, the byte order returned is always
endian::InlHostByteOrder(), which is not wrong.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev