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.cpp924 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local
925 if (!RelSecOrErr) in findOPDEntrySection()
926 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in findOPDEntrySection()
928 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()
2783 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() local
2784 if (!RelSecOrErr) in finalizeLoad()
2786 toString(RelSecOrErr.takeError())); in finalizeLoad()
2788 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp1005 Expected<const Elf_Shdr *> RelSecOrErr = this->getSection(Sec.sh_info); in getSectionAndRelocations() local
1006 if (!RelSecOrErr) { in getSectionAndRelocations()
1010 toString(RelSecOrErr.takeError()))); in getSectionAndRelocations()
1013 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h470 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local
471 if (!RelSecOrErr) in getRelSection()
473 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
474 return *RelSecOrErr; in getRelSection()