[all-commits] [llvm/llvm-project] 142d52: [llvm-profdata] Make sure to consume Error on the ...

zero9178 via All-commits all-commits at lists.llvm.org
Mon Mar 29 23:53:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 142d522dedbb06fdc5fdaa7650b322c479ddda45
      https://github.com/llvm/llvm-project/commit/142d522dedbb06fdc5fdaa7650b322c479ddda45
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    A llvm/test/tools/llvm-profdata/Inputs/fe-basic.proftext
    A llvm/test/tools/llvm-profdata/Inputs/ir-basic.proftext
    A llvm/test/tools/llvm-profdata/merge-incompatible.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Make sure to consume Error on the error path of setIsIRLevelProfile

Encountered a crash while running a debug build, where this code path would be taken due to a mismatch in profile coverage data versions. Without consuming the error, an assert would be triggered inside the destructor of Error.

Differential Revision: https://reviews.llvm.org/D99457




More information about the All-commits mailing list