Home
last modified time | relevance | path

Searched refs:SectionOrErr (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp99 Expected<std::optional<StringRef>> SectionOrErr = in link() local
101 if (!SectionOrErr) in link()
102 return SectionOrErr.takeError(); in link()
104 if (std::optional<StringRef> Section = *SectionOrErr) in link()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
53 if (!SectionOrErr) in processRelocationRef()
54 return SectionOrErr.takeError(); in processRelocationRef()
55 auto Section = *SectionOrErr; in processRelocationRef()
H A DRuntimeDyldCOFFThumb.h96 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
97 if (!SectionOrErr) in processRelocationRef()
98 return SectionOrErr.takeError(); in processRelocationRef()
99 auto Section = *SectionOrErr; in processRelocationRef()
H A DRuntimeDyldCOFFAArch64.h169 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
170 if (!SectionOrErr) in processRelocationRef()
171 return SectionOrErr.takeError(); in processRelocationRef()
172 auto Section = *SectionOrErr; in processRelocationRef()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp644 Expected<StringRef> SectionOrErr = Section.getContents(); in traverseSymbolSection() local
645 if (!SectionOrErr) in traverseSymbolSection()
646 return SectionOrErr.takeError(); in traverseSymbolSection()
647 StringRef SectionContents = *SectionOrErr; in traverseSymbolSection()
826 Expected<const coff_section *> SectionOrErr = in mapRangeAddress()
828 if (!SectionOrErr) { in mapRangeAddress()
831 consumeError(SectionOrErr.takeError()); in mapRangeAddress()
H A DLVBinaryReader.cpp390 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions() local
392 if (!SectionOrErr) in createInstructions()
393 return SectionOrErr.takeError(); in createInstructions()
394 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions()
395 uint64_t SectionAddress = (*SectionOrErr).first; in createInstructions()
399 return SectionOrErr.takeError(); in createInstructions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h1302 Expected<const Elf_Shdr *> SectionOrErr = in getStringTableForSymtab() local
1304 if (!SectionOrErr) in getStringTableForSymtab()
1305 return SectionOrErr.takeError(); in getStringTableForSymtab()
1306 return getStringTable(**SectionOrErr); in getStringTableForSymtab()
H A DELFObjectFile.h658 Expected<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local
660 if (!SectionOrErr) in getSymbolAddress()
661 return SectionOrErr.takeError(); in getSymbolAddress()
662 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp1647 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
1648 if (!SectionOrErr) { in processRelocationRef()
1651 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()
1654 section_iterator si = *SectionOrErr; in processRelocationRef()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp307 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local
308 if (!SectionOrErr) in parseSegmentLoadCommand()
309 return SectionOrErr.takeError(); in parseSegmentLoadCommand()
310 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp6786 Expected<const Elf_Shdr *> SectionOrErr = in printStackSize() local
6788 if (!SectionOrErr) { in printStackSize()
6791 (*TargetOrErr).Name + "': " + toString(SectionOrErr.takeError())); in printStackSize()
6792 } else if (*SectionOrErr != FunctionSec) { in printStackSize()
6797 FunctionSec = *SectionOrErr; in printStackSize()