The function getByte is dependent on endianness and the current
behavior is incorrect on big-endian targets.
This patch fixes the issue.
Differential D64402
[libunwind] Fix Unwind-EHABI.cpp:getByte on big-endian targets miyuki on Jul 9 2019, 4:49 AM. Authored by
Details The function getByte is dependent on endianness and the current This patch fixes the issue.
Diff Detail Event TimelineComment Actions This won't work for cross-unwinding between a big and little endian system, I think it would be better to load the whole word, and mask out the correct byte. Comment Actions LGTM, that's what EHABI spec says:
Comment Actions Actually, I think cross-unwinding with EHABI is already completely broken, because we are doing raw memory accesses (not using the AddressSpace), so this is fine. |