[all-commits] [llvm/llvm-project] 126e76: [compiler-rt] Fix diagnostic in InstrProfError

gulfemsavrun via All-commits all-commits at lists.llvm.org
Tue Nov 9 12:31:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 126e7611c70ca41782aa851c2bec132607eb8127
      https://github.com/llvm/llvm-project/commit/126e7611c70ca41782aa851c2bec132607eb8127
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/test/tools/llvm-profdata/large-binary-id-size.test
    M llvm/test/tools/llvm-profdata/malformed-not-space-for-another-header.test
    M llvm/test/tools/llvm-profdata/malformed-num-counters-zero.test
    M llvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test

  Log Message:
  -----------
  [compiler-rt] Fix diagnostic in InstrProfError

This patch fixes some issues introduced in
https://reviews.llvm.org/D108942:

1) Remove the default label to fix the bots that use
-Werror,-Wcovered-switch-default
2) Modify the malformed test to fix the bots that are
built without zlib support
3) Modify some error messages in malformed profiles




More information about the All-commits mailing list