Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp364 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in loadObjectImpl() local
365 if (!RelSecOrErr) in loadObjectImpl()
366 return RelSecOrErr.takeError(); in loadObjectImpl()
368 section_iterator RelocatedSection = *RelSecOrErr; in loadObjectImpl()
683 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in computeSectionStubBufSize() local
684 if (!RelSecOrErr) in computeSectionStubBufSize()
685 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in computeSectionStubBufSize()
687 section_iterator RelSecI = *RelSecOrErr; in computeSectionStubBufSize()
H A DRuntimeDyldELF.cpp710 Expected<section_iterator> RelSecOrErr = si->getRelocatedSection(); in findOPDEntrySection() local
711 if (!RelSecOrErr) in findOPDEntrySection()
712 report_fatal_error(Twine(toString(RelSecOrErr.takeError()))); in findOPDEntrySection()
714 section_iterator RelSecI = *RelSecOrErr; in findOPDEntrySection()
2322 Expected<section_iterator> RelSecOrErr = SI->getRelocatedSection(); in finalizeLoad() local
2323 if (!RelSecOrErr) in finalizeLoad()
2325 toString(RelSecOrErr.takeError())); in finalizeLoad()
2327 section_iterator RelocatedSection = *RelSecOrErr; in finalizeLoad()
/llvm-project-15.0.7/llvm/unittests/Object/
H A DELFObjectFileTest.cpp781 Expected<section_iterator> RelSecOrErr = Sec.getRelocatedSection(); in TEST() local
782 ASSERT_THAT_EXPECTED(RelSecOrErr, Succeeded()); in TEST()
783 section_iterator RelSec = *RelSecOrErr; in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFObjectFile.h420 auto RelSecOrErr = EF.getSection(Rel.d.a); in getRelSection() local
421 if (!RelSecOrErr) in getRelSection()
423 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
424 return *RelSecOrErr; in getRelSection()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp6157 Expected<const Elf_Shdr *> RelSecOrErr = Obj.getSection(Sec.sh_info); in getSectionAndRelocations() local
6158 if (!RelSecOrErr) { in getSectionAndRelocations()
6161 toString(RelSecOrErr.takeError())); in getSectionAndRelocations()
6164 const Elf_Shdr *ContentsSec = *RelSecOrErr; in getSectionAndRelocations()