Searched refs:RelSecOrErr (Results 1 – 4 of 4) sorted by relevance
368 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() local369 if (!RelSecOrErr) in loadObjectImpl()370 return RelSecOrErr.takeError(); in loadObjectImpl()372 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()685 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() local686 if (!RelSecOrErr) in computeSectionStubBufSize()687 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in computeSectionStubBufSize()689 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
714 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local715 if (!RelSecOrErr) in findOPDEntrySection()716 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in findOPDEntrySection()718 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()2386 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() local2387 if (!RelSecOrErr) in finalizeLoad()2389 toString(RelSecOrErr.takeError())); in finalizeLoad()2391 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
960 Expected<const Elf_Shdr *> RelSecOrErr = this->getSection(Sec.sh_info); in getSectionAndRelocations() local961 if (!RelSecOrErr) { in getSectionAndRelocations()965 toString(RelSecOrErr.takeError()))); in getSectionAndRelocations()968 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()
464 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local465 if (!RelSecOrErr) in getRelSection()467 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()468 return *RelSecOrErr; in getRelSection()