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()
715 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local716 if (!RelSecOrErr) in findOPDEntrySection()717 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in findOPDEntrySection()719 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()2381 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() local2382 if (!RelSecOrErr) in finalizeLoad()2384 toString(RelSecOrErr.takeError())); in finalizeLoad()2386 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
858 Expected<const Elf_Shdr *> RelSecOrErr = this->getSection(Sec.sh_info); in getSectionAndRelocations() local859 if (!RelSecOrErr) { in getSectionAndRelocations()863 toString(RelSecOrErr.takeError()))); in getSectionAndRelocations()866 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()
431 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local432 if (!RelSecOrErr) in getRelSection()434 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()435 return *RelSecOrErr; in getRelSection()