[profile] Fix binary format reader error propagation.
authorMircea Trofin <mtrofin@google.com>
Fri, 13 Apr 2018 15:04:36 +0000 (15:04 +0000)
committerMircea Trofin <mtrofin@google.com>
Fri, 13 Apr 2018 15:04:36 +0000 (15:04 +0000)
commit5b63803d1f4b184e2e90a4b23e42fe1bf76c1b15
tree8258f42271a478b789539dc706e705b0db9aaead
parent52098cf5da185732784e417489ed867236b3fe0a
[profile] Fix binary format reader error propagation.

Summary:
This was originally part of rL328132, and led to the discovery
of the issues addressed in rL328987. Re-landing.

Reviewers: xur, davidxl, bkramer

Reviewed By: bkramer

Subscribers: llvm-commits

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

llvm-svn: 330029
llvm/lib/ProfileData/InstrProfReader.cpp