Lines Matching refs:error_code

325 std::error_code SampleProfileReaderText::readImpl() {
498 std::error_code EC = sampleprof_error::malformed;
502 std::error_code EC = sampleprof_error::truncated;
514 std::error_code EC = sampleprof_error::truncated;
526 std::error_code EC = sampleprof_error::truncated;
539 if (std::error_code EC = Idx.getError())
549 if (std::error_code EC = Idx.getError())
559 if (std::error_code EC = ContextIdx.getError())
574 if (std::error_code EC = FContext.getError())
579 if (std::error_code EC = FName.getError())
597 std::error_code
600 if (std::error_code EC = NumSamples.getError())
606 if (std::error_code EC = NumRecords.getError())
611 if (std::error_code EC = LineOffset.getError())
615 return std::error_code();
619 if (std::error_code EC = Discriminator.getError())
623 if (std::error_code EC = NumSamples.getError())
627 if (std::error_code EC = NumCalls.getError())
635 if (std::error_code EC = CalledFunction.getError())
639 if (std::error_code EC = CalledFunctionSamples.getError())
651 if (std::error_code EC = NumCallsites.getError())
656 if (std::error_code EC = LineOffset.getError())
660 if (std::error_code EC = Discriminator.getError())
664 if (std::error_code EC = FName.getError())
673 if (std::error_code EC = readProfile(CalleeProfile))
680 std::error_code
685 if (std::error_code EC = NumHeadSamples.getError())
689 if (std::error_code EC = FContextHash.getError())
702 if (std::error_code EC = readProfile(FProfile))
707 std::error_code
712 std::error_code SampleProfileReaderBinary::readImpl() {
716 if (std::error_code EC = readFuncProfile(Data))
723 std::error_code SampleProfileReaderExtBinaryBase::readOneSection(
729 if (std::error_code EC = readSummary())
749 if (std::error_code EC = readNameTableSec(UseMD5, FixedLengthMD5))
754 if (std::error_code EC = readCSNameTableSec())
760 if (std::error_code EC = readFuncProfiles())
772 if (std::error_code EC = readFuncOffsetTable())
782 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute))
787 if (std::error_code EC = readProfileSymbolList())
791 if (std::error_code EC = readCustomSection(Entry))
826 std::error_code
831 if (std::error_code EC = readFuncProfiles(FuncsToUse, Profiles))
835 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, Profiles))
849 std::error_code SampleProfileReaderExtBinaryBase::readFuncOffsetTable() {
856 if (std::error_code EC = Size.getError())
867 if (std::error_code EC = FContextHash.getError())
872 if (std::error_code EC = Offset.getError())
886 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles(
934 if (std::error_code EC = readFuncProfile(FuncProfileAddr))
946 if (std::error_code EC = readFuncProfile(FuncProfileAddr, Profiles))
958 if (std::error_code EC = readFuncProfile(FuncProfileAddr, Profiles))
969 if (std::error_code EC = readFuncProfile(FuncProfileAddr, Profiles))
977 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() {
990 if (std::error_code EC = readFuncProfile(Data))
996 if (std::error_code EC = readFuncProfiles(FuncsToUse, Profiles))
1007 std::error_code SampleProfileReaderExtBinaryBase::readProfileSymbolList() {
1011 if (std::error_code EC = ProfSymList->read(Data, End - Data))
1018 std::error_code SampleProfileReaderExtBinaryBase::decompressSection(
1024 if (std::error_code EC = DecompressSize.getError())
1029 if (std::error_code EC = CompressSize.getError())
1045 std::error_code SampleProfileReaderExtBinaryBase::readImpl() {
1069 if (std::error_code EC = decompressSection(
1076 if (std::error_code EC = readOneSection(SecStart, SecSize, Entry))
1091 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) {
1097 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) {
1103 std::error_code SampleProfileReaderBinary::readNameTable() {
1105 if (std::error_code EC = Size.getError())
1128 if (std::error_code EC = Name.getError())
1143 std::error_code
1150 if (std::error_code EC = Size.getError())
1176 if (std::error_code EC = Size.getError())
1185 if (std::error_code EC = FID.getError())
1203 std::error_code SampleProfileReaderExtBinaryBase::readCSNameTableSec() {
1205 if (std::error_code EC = Size.getError())
1221 if (std::error_code EC = ContextSize.getError())
1225 if (std::error_code EC = FName.getError())
1228 if (std::error_code EC = LineOffset.getError())
1232 return std::error_code();
1235 if (std::error_code EC = Discriminator.getError())
1246 std::error_code
1252 if (std::error_code EC = Checksum.getError())
1260 if (std::error_code EC = Attributes.getError())
1269 if (std::error_code EC = NumCallsites.getError())
1274 if (std::error_code EC = LineOffset.getError())
1278 if (std::error_code EC = Discriminator.getError())
1282 if (std::error_code EC = FContextHash.getError())
1293 if (std::error_code EC =
1303 std::error_code
1317 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, FProfile))
1324 std::error_code
1328 if (std::error_code EC = FContextHash.getError())
1337 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, FProfile))
1347 std::error_code
1351 if (std::error_code EC = Type.getError())
1356 if (std::error_code EC = Flags.getError())
1361 if (std::error_code EC = Offset.getError())
1366 if (std::error_code EC = Size.getError())
1375 std::error_code SampleProfileReaderExtBinaryBase::readSecHdrTable() {
1377 if (std::error_code EC = EntryNum.getError())
1381 if (std::error_code EC = readSecHdrTableEntry(i))
1387 std::error_code SampleProfileReaderExtBinaryBase::readHeader() {
1393 if (std::error_code EC = readMagicIdent())
1396 if (std::error_code EC = readSecHdrTable())
1493 std::error_code SampleProfileReaderBinary::readMagicIdent() {
1496 if (std::error_code EC = Magic.getError())
1498 else if (std::error_code EC = verifySPMagic(*Magic))
1503 if (std::error_code EC = Version.getError())
1511 std::error_code SampleProfileReaderBinary::readHeader() {
1515 if (std::error_code EC = readMagicIdent())
1518 if (std::error_code EC = readSummary())
1521 if (std::error_code EC = readNameTable())
1526 std::error_code SampleProfileReaderBinary::readSummaryEntry(
1529 if (std::error_code EC = Cutoff.getError())
1533 if (std::error_code EC = MinBlockCount.getError())
1537 if (std::error_code EC = NumBlocks.getError())
1544 std::error_code SampleProfileReaderBinary::readSummary() {
1546 if (std::error_code EC = TotalCount.getError())
1550 if (std::error_code EC = MaxBlockCount.getError())
1554 if (std::error_code EC = MaxFunctionCount.getError())
1558 if (std::error_code EC = NumBlocks.getError())
1562 if (std::error_code EC = NumFunctions.getError())
1566 if (std::error_code EC = NumSummaryEntries.getError())
1571 std::error_code EC = readSummaryEntry(Entries);
1596 std::error_code SampleProfileReaderGCC::skipNextWord() {
1614 std::error_code EC = sampleprof_error::malformed;
1626 std::error_code SampleProfileReaderGCC::readHeader() {
1641 if (std::error_code EC = skipNextWord())
1647 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) {
1655 if (std::error_code EC = skipNextWord())
1661 std::error_code SampleProfileReaderGCC::readNameTable() {
1662 if (std::error_code EC = readSectionTag(GCOVTagAFDOFileNames))
1679 std::error_code SampleProfileReaderGCC::readFunctionProfiles() {
1680 if (std::error_code EC = readSectionTag(GCOVTagAFDOFunction))
1689 if (std::error_code EC = readOneFunctionProfile(Stack, true, 0))
1696 std::error_code SampleProfileReaderGCC::readOneFunctionProfile(
1812 if (std::error_code EC = readOneFunctionProfile(NewStack, Update, Offset))
1823 std::error_code SampleProfileReaderGCC::readImpl() {
1826 if (std::error_code EC = readNameTable())
1830 if (std::error_code EC = readFunctionProfiles())
1886 if (std::error_code EC = BufferOrErr.getError())
1909 if (std::error_code EC = BufferOrError.getError())
1930 if (std::error_code EC = BufferOrError.getError())
1994 if (std::error_code EC = ReaderOrErr.getError()) {
2002 if (std::error_code EC = Reader->readHeader()) {