[PATCH] D66985: [llvm-profdata] Recover from InstrProf read failures

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 17:27:15 PDT 2019


vsk created this revision.
vsk added reviewers: davidxl, Dor1s, wmi.
Herald added a project: LLVM.

Do not treat malformed profile errors (and similar read failures) as
fatal. Make forward progress and report failure only if no inputs can be
read.

rdar://54843625


https://reviews.llvm.org/D66985

Files:
  llvm/test/tools/llvm-profdata/invalid-profdata.test
  llvm/test/tools/llvm-profdata/text-format-errors.test
  llvm/tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66985.218004.patch
Type: text/x-patch
Size: 8611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190830/e15a20d9/attachment.bin>


More information about the llvm-commits mailing list