Lines Matching defs:TextSectionIndex

755                              std::optional<unsigned> TextSectionIndex,
757 SCOPED_TRACE("for TextSectionIndex: " +
758 (TextSectionIndex ? llvm::Twine(*TextSectionIndex) : "{}") +
768 auto BBAddrMaps = ElfOrErr->readBBAddrMap(TextSectionIndex);
774 std::optional<unsigned> TextSectionIndex,
776 SCOPED_TRACE("for TextSectionIndex: " +
777 (TextSectionIndex ? llvm::Twine(*TextSectionIndex) : "{}") +
787 EXPECT_THAT_ERROR(ElfOrErr->readBBAddrMap(TextSectionIndex).takeError(),
794 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/std::nullopt,
796 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/0,
798 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/2,
800 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/1,
804 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/3, {});
814 DoCheckFails(InvalidLinkedYamlString, /*TextSectionIndex=*/4,
822 DoCheckSucceeds(InvalidLinkedYamlString, /*TextSectionIndex=*/std::nullopt,
834 DoCheckFails(TruncatedYamlString, /*TextSectionIndex=*/std::nullopt,
841 DoCheckSucceeds(TruncatedYamlString, /*TextSectionIndex=*/2,
1211 [&](StringRef YamlString, std::optional<unsigned> TextSectionIndex,
1215 "for TextSectionIndex: " +
1216 (TextSectionIndex ? llvm::Twine(*TextSectionIndex) : "{}") +
1229 TextSectionIndex, ExpectedPGO ? &PGOAnalyses : nullptr);
1254 std::optional<unsigned> TextSectionIndex,
1256 SCOPED_TRACE("for TextSectionIndex: " +
1257 (TextSectionIndex ? llvm::Twine(*TextSectionIndex) : "{}") +
1269 ElfOrErr->readBBAddrMap(TextSectionIndex, &PGOAnalyses).takeError(),
1276 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/std::nullopt,
1278 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/0,
1280 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/2,
1282 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/1,
1285 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/std::nullopt,
1287 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/0,
1289 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/2,
1291 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/1,
1295 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/3, {}, std::nullopt);
1296 DoCheckSucceeds(CommonYamlString, /*TextSectionIndex=*/3, {},
1309 DoCheckFails(InvalidLinkedYamlString, /*TextSectionIndex=*/5,
1316 DoCheckSucceeds(InvalidLinkedYamlString, /*TextSectionIndex=*/std::nullopt,
1318 DoCheckSucceeds(InvalidLinkedYamlString, /*TextSectionIndex=*/std::nullopt,
1331 TruncatedYamlString, /*TextSectionIndex=*/std::nullopt,
1336 DoCheckSucceeds(TruncatedYamlString, /*TextSectionIndex=*/2,
1338 DoCheckSucceeds(TruncatedYamlString, /*TextSectionIndex=*/2,