[PATCH] D76796: [llvm-cov] Improve error message for missing profdata

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 13:33:01 PDT 2020


davidxl added inline comments.


================
Comment at: llvm/tools/llvm-cov/CodeCoverage.cpp:871
+  if (std::error_code EC = sys::fs::status(PGOFilename, Status)) {
+    error("Could not read profile data.", EC.message());
     return 1;
----------------
a nit : all the other messages uses '!' at the end, so keep it consistent here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76796/new/

https://reviews.llvm.org/D76796





More information about the llvm-commits mailing list