Home
last modified time | relevance | path

Searched refs:RelSecOrErr (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp368 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() local
369 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() local
686 if (!RelSecOrErr) in computeSectionStubBufSize()
687 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in computeSectionStubBufSize()
689 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
H A DRuntimeDyldELF.cpp714 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local
715 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() local
2387 if (!RelSecOrErr) in finalizeLoad()
2389 toString(RelSecOrErr.takeError())); in finalizeLoad()
2391 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp960 Expected<const Elf_Shdr *> RelSecOrErr = this->getSection(Sec.sh_info); in getSectionAndRelocations() local
961 if (!RelSecOrErr) { in getSectionAndRelocations()
965 toString(RelSecOrErr.takeError()))); in getSectionAndRelocations()
968 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h464 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local
465 if (!RelSecOrErr) in getRelSection()
467 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
468 return *RelSecOrErr; in getRelSection()