[all-commits] [llvm/llvm-project] 9eb1b4: [llvm-cov] Improve error message for missing profdata

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Mar 30 12:54:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eb1b41811c76eec35c5feafb2fdc781f356bf48
      https://github.com/llvm/llvm-project/commit/9eb1b41811c76eec35c5feafb2fdc781f356bf48
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-03-30 (Mon, 30 Mar 2020)

  Changed paths:
    A llvm/test/tools/llvm-cov/misssing-profdata.test
    M llvm/tools/llvm-cov/CodeCoverage.cpp

  Log Message:
  -----------
  [llvm-cov] Improve error message for missing profdata

I got a report recently that a user was having trouble interpreting the
meaning of the error message.  Hopefully this is more readable; produces
something like the following:

error: No such file or directory: Could not read profile data!

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




More information about the All-commits mailing list