HomePhabricator

[llvm-profdata] Add mode to recover from profile read failures

Authored by vsk on Sep 3 2019, 3:23 PM.

Description

[llvm-profdata] Add mode to recover from profile read failures

Add a mode in which profile read errors are not immediately treated as
fatal. In this mode, merging makes forward progress and reports failure
only if no inputs can be read.

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

llvm-svn: 370827