Searched refs:RelSecOrErr (Results 1 – 5 of 5) sorted by relevance
364 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() local365 if (!RelSecOrErr) in loadObjectImpl()366 return RelSecOrErr.takeError(); in loadObjectImpl()368 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()683 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() local684 if (!RelSecOrErr) in computeSectionStubBufSize()685 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in computeSectionStubBufSize()687 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
710 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local711 if (!RelSecOrErr) in findOPDEntrySection()712 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in findOPDEntrySection()714 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()2322 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() local2323 if (!RelSecOrErr) in finalizeLoad()2325 toString(RelSecOrErr.takeError())); in finalizeLoad()2327 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
781 Expected<section_iterator> RelSecOrErr = Sec.getRelocatedSection(); in TEST() local782 ASSERT_THAT_EXPECTED(RelSecOrErr, Succeeded()); in TEST()783 section_iterator RelSec = *RelSecOrErr; in TEST()
420 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local421 if (!RelSecOrErr) in getRelSection()423 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()424 return *RelSecOrErr; in getRelSection()
6157 Expected<const Elf_Shdr *> RelSecOrErr = Obj.getSection(Sec.sh_info); in getSectionAndRelocations() local6158 if (!RelSecOrErr) { in getSectionAndRelocations()6161 toString(RelSecOrErr.takeError())); in getSectionAndRelocations()6164 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()