[all-commits] [llvm/llvm-project] 4c684b: Revert part of D49132 "[gcov] Fix gcov profiling o...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon May 11 22:27:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c684b91d562d96ab5a34bb989693e92ba9ec9eb
      https://github.com/llvm/llvm-project/commit/4c684b91d562d96ab5a34bb989693e92ba9ec9eb
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M compiler-rt/lib/profile/GCDAProfiling.c

  Log Message:
  -----------
  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.




More information about the All-commits mailing list