Revert part of D49132 "[gcov] Fix gcov profiling on big-endian machines"
authorFangrui Song <maskray@google.com>
Tue, 12 May 2020 05:08:07 +0000 (22:08 -0700)
committerFangrui Song <maskray@google.com>
Tue, 12 May 2020 05:27:01 +0000 (22:27 -0700)
commit4c684b91d562d96ab5a34bb989693e92ba9ec9eb
treee68c1036d5adf44ef19aae8d92d71bf679511cd1
parent1f707cc9908173951fe7ed0a2d8e90dc8923651d
Revert part of D49132 "[gcov] Fix gcov profiling on big-endian machines"

D49132 is partially correct. For 64-bit values, the lower 32-bit part comes
before the higher 32-bit part (in a little-endian manner).

For 32-bit values, libgcov reads/writes 32-bit values in native endianness.
compiler-rt/lib/profile/GCDAProfiling.c