Searched refs:SecOrErr (Results 1 - 12 of 12) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp144 auto SecOrErr = Sym.getSection(); local
145 if (!SecOrErr) {
147 consumeError(SecOrErr.takeError());
150 object::section_iterator Sec = *SecOrErr;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DReader.cpp60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I); local
61 if (!SecOrErr)
62 return SecOrErr.takeError();
63 const coff_section *Sec = *SecOrErr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp220 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); local
221 if (!SecOrErr) {
224 logAllUnhandledErrors(SecOrErr.takeError(), OS);
228 *unwrap(Sect) = *SecOrErr;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp61 auto SecOrErr = EF.getSection(Rel.d.a); local
62 if (!SecOrErr)
63 return SecOrErr.takeError();
73 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) {
77 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) {
H A Dllvm-objdump.cpp2168 Expected<section_iterator> SecOrErr = Section.getRelocatedSection();
2169 if (!SecOrErr)
2173 toString(SecOrErr.takeError()));
2174 SecToRelSec[**SecOrErr].push_back(Section);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp452 auto SecOrErr = Sym.getSection(); local
453 if (!SecOrErr) {
455 consumeError(SecOrErr.takeError());
458 object::section_iterator Sec = *SecOrErr;
464 } else if (auto SecOrErr = Sym.getSection())
465 Address.SectionIndex = SecOrErr.get()->getIndex();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h605 auto SecOrErr = getSection(Section); local
606 if (!SecOrErr)
607 return SecOrErr.takeError();
608 return getEntry<T>(*SecOrErr, Entry);
H A DELFObjectFile.h477 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) {
479 return (*SecOrErr)->getName();
882 Expected<const Elf_Shdr *> SecOrErr = EF.getSection(EShdr->sh_info);
883 if (!SecOrErr)
884 return SecOrErr.takeError();
885 return section_iterator(SectionRef(toDRI(*SecOrErr), this));
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp521 Expected<section_iterator> SecOrErr = local
523 if (!SecOrErr) {
524 consumeError(SecOrErr.takeError());
528 Sec = *SecOrErr;
1042 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); local
1043 if (!SecOrErr) {
1044 consumeError(SecOrErr.takeError());
1047 section_iterator Sec = *SecOrErr;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1663 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); local
1664 if (!SecOrErr) {
1666 SecOrErr.takeError()));
1673 section_iterator RelocatedSection = *SecOrErr;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1474 Expected<const coff_section *> SecOrErr = local
1476 if (!SecOrErr) {
1480 consumeError(SecOrErr.takeError());
1483 const coff_section *Section = *SecOrErr;
H A DELFDumper.cpp1112 Expected<const Elf_Shdr *> SecOrErr = local
1114 if (!SecOrErr)
1115 return SecOrErr.takeError();
1117 if (*SecOrErr == nullptr)
1120 Expected<StringRef> NameOrErr = Obj->getSectionName(*SecOrErr);
1273 Expected<const Elf_Shdr *> SecOrErr = local
1275 if (!SecOrErr)
1276 return SecOrErr.takeError();
1277 return Obj->getSectionName(*SecOrErr);

Completed in 110 milliseconds