Some recent changes to sancov.py broke ASAN for big endian. This fixes it.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
Wow, I did not realize this is being tested on big-endian.
Sorry for the breakage. (OTOH, I now know that this is indeed being tested on big-endian)
projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py | ||
---|---|---|
46 | maybe use idx = 1 if sys.byteorder == 'little' else 0 or at least add spaces around = |
maybe use
or at least add spaces around =