InstrProf: Use ErrorOr for IndexedInstrProfReader::create (NFC)
authorJustin Bogner <mail@justinbogner.com>
Mon, 16 Feb 2015 21:28:58 +0000 (21:28 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 16 Feb 2015 21:28:58 +0000 (21:28 +0000)
commite8e3eb839729ae894a2410e1f7f5e92139e077e4
tree70c71495a2eb2545aae425292843e3bdc5aaa708
parent4031c08c8729e07c748c11b59a298645fb2edfc8
InstrProf: Use ErrorOr for IndexedInstrProfReader::create (NFC)

The other InstrProfReader::create factories were updated to return
ErrorOr in r221120, and it's odd for these APIs not to match.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229433 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProfReader.h
lib/ProfileData/CoverageMapping.cpp
lib/ProfileData/InstrProfReader.cpp