OSDN Git Service

[ProfileData] (llvm) Use Error in InstrProf and Coverage, NFC
authorVedant Kumar <vsk@apple.com>
Fri, 13 May 2016 20:01:27 +0000 (20:01 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 13 May 2016 20:01:27 +0000 (20:01 +0000)
commit5b34ed81912658b6228917a436e7c566b801b809
treeef64fbbecdee1480b4714f8bc50372a00fe1559a
parentef598a795b358cdd3ff034c56c816afa1e96b8e9
[ProfileData] (llvm) Use Error in InstrProf and Coverage, NFC

Transition InstrProf and Coverage over to the stricter Error/Expected
interface.

Differential Revision: http://reviews.llvm.org/D19901

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269462 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/ProfileData/Coverage/CoverageMapping.h
include/llvm/ProfileData/Coverage/CoverageMappingReader.h
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc
include/llvm/ProfileData/InstrProfReader.h
include/llvm/ProfileData/InstrProfWriter.h
include/llvm/ProfileData/ProfileCommon.h
lib/ProfileData/Coverage/CoverageMapping.cpp
lib/ProfileData/Coverage/CoverageMappingReader.cpp
lib/ProfileData/InstrProf.cpp
lib/ProfileData/InstrProfReader.cpp
lib/ProfileData/InstrProfWriter.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-profdata/llvm-profdata.cpp
unittests/ProfileData/CoverageMappingTest.cpp
unittests/ProfileData/InstrProfTest.cpp