Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp715 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local
716 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() local
2382 if (!RelSecOrErr) in finalizeLoad()
2384 toString(RelSecOrErr.takeError())); in finalizeLoad()
2386 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp858 Expected<const Elf_Shdr *> RelSecOrErr = this->getSection(Sec.sh_info); in getSectionAndRelocations() local
859 if (!RelSecOrErr) { in getSectionAndRelocations()
863 toString(RelSecOrErr.takeError()))); in getSectionAndRelocations()
866 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h431 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local
432 if (!RelSecOrErr) in getRelSection()
434 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
435 return *RelSecOrErr; in getRelSection()