[ProfileData] Propagate an error from InstrProfSymtab
authorVedant Kumar <vsk@apple.com>
Tue, 3 May 2016 20:01:01 +0000 (20:01 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 3 May 2016 20:01:01 +0000 (20:01 +0000)
commitb4b2c8719aa85cc2249abff6e564ab210f1e5df1
tree504b6b1fd2d345aa6b2f38a3e56c1a710eb04f4e
parentaa3d2c13bf993a39c08957c261dd2a0bb6dfbd5c
[ProfileData] Propagate an error from InstrProfSymtab

CovMapFuncReader::get should propagate up errors from InstrProfSymtab.

This is part of a series of patches to transition ProfileData over to
the stricter Error/Expected interface.

llvm-svn: 268428
llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp