[all-commits] [llvm/llvm-project] 1ec021: [instrprof] Fix issue in binary-ids-padding.test

gulfemsavrun via All-commits all-commits at lists.llvm.org
Thu Dec 29 13:49:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ec021467da65c06cd4aa24ce81898b0759bd16b
      https://github.com/llvm/llvm-project/commit/1ec021467da65c06cd4aa24ce81898b0759bd16b
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2022-12-29 (Thu, 29 Dec 2022)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfReader.cpp

  Log Message:
  -----------
  [instrprof] Fix issue in binary-ids-padding.test

https://reviews.llvm.org/D135929 caused a failure in
binary-ids-padding.test in big endian configurations:
https://lab.llvm.org/buildbot/#/builders/231/builds/6709

binary-ids-padding.test writes the profile in little-endian format.
This patch changes the raw profile reader to use getDataEndianness()
instead of llvm::support::endian::system_endianness() to fix the issue.




More information about the All-commits mailing list