Searched refs:SectionOrErr (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); local
105 if (!SectionOrErr)
106 return SectionOrErr.takeError();
108 if (Optional<StringRef> Section = *SectionOrErr)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h52 auto SectionOrErr = Symbol->getSection(); variable
53 if (!SectionOrErr)
54 return SectionOrErr.takeError();
55 auto Section = *SectionOrErr;
H A DRuntimeDyldCOFFAArch64.h155 auto SectionOrErr = Symbol->getSection(); variable
156 if (!SectionOrErr)
157 return SectionOrErr.takeError();
158 auto Section = *SectionOrErr;
H A DRuntimeDyldCOFFThumb.h74 auto SectionOrErr = Symbol->getSection(); variable
75 if (!SectionOrErr)
76 return SectionOrErr.takeError();
77 auto Section = *SectionOrErr;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h676 auto SectionOrErr = object::getSection<ELFT>(Sections, Sec.sh_link);
677 if (!SectionOrErr)
678 return SectionOrErr.takeError();
679 return getStringTable(*SectionOrErr);
H A DELFObjectFile.h532 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable); local
533 if (!SectionOrErr)
534 return SectionOrErr.takeError();
535 const Elf_Shdr *Section = *SectionOrErr;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp1160 auto SectionOrErr = Symbol->getSection(); local
1161 if (!SectionOrErr) {
1164 logAllUnhandledErrors(SectionOrErr.takeError(), OS);
1168 section_iterator si = *SectionOrErr;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp298 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); local
299 if (!SectionOrErr)
300 return SectionOrErr.takeError();
301 Section s = SectionOrErr.get();
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp5079 auto SectionOrErr = RelocSym->getSection(); local
5080 if (!SectionOrErr) {
5085 consumeError(SectionOrErr.takeError());
5086 } else if (*SectionOrErr != FunctionSec) {
5093 FunctionSec = **SectionOrErr;

Completed in 202 milliseconds