The test was passing on a big endian host, but just because od with x4 was compensating for it.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
ELF/Arch/PPC64.cpp | ||
---|---|---|
97–98 | Something like this would be a bit simpler: TrapInstr = (Config->IsLE == sys::IsLittleEndianHost) ? ...; |
Something like this would be a bit simpler: