Home
last modified time | relevance | path

Searched refs:SecOrErr (Results 1 – 10 of 10) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
HDIntelJITEventListener.cpp144 auto SecOrErr = Sym.getSection(); in notifyObjectLoaded() local
145 if (!SecOrErr) { in notifyObjectLoaded()
147 consumeError(SecOrErr.takeError()); in notifyObjectLoaded()
150 object::section_iterator Sec = *SecOrErr; in notifyObjectLoaded()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
HDELFDump.cpp58 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() local
59 if (!SecOrErr) in getRelocationValueString()
60 return SecOrErr.takeError(); in getRelocationValueString()
70 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { in getRelocationValueString()
74 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) { in getRelocationValueString()
HDllvm-objdump.cpp1630 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in printRelocations() local
1631 if (!SecOrErr) in printRelocations()
1635 toString(SecOrErr.takeError())); in printRelocations()
1636 SecToRelSec[**SecOrErr].push_back(Section); in printRelocations()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
HDObject.cpp220 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection() local
221 if (!SecOrErr) { in LLVMMoveToContainingSection()
224 logAllUnhandledErrors(SecOrErr.takeError(), OS); in LLVMMoveToContainingSection()
228 *unwrap(Sect) = *SecOrErr; in LLVMMoveToContainingSection()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
HDllvm-rtdyld.cpp452 auto SecOrErr = Sym.getSection(); in printLineInfoForInput() local
453 if (!SecOrErr) { in printLineInfoForInput()
455 consumeError(SecOrErr.takeError()); in printLineInfoForInput()
458 object::section_iterator Sec = *SecOrErr; in printLineInfoForInput()
464 } else if (auto SecOrErr = Sym.getSection()) in printLineInfoForInput() local
465 Address.SectionIndex = SecOrErr.get()->getIndex(); in printLineInfoForInput()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
HDELF.h562 auto SecOrErr = getSection(Section); in getEntry() local
563 if (!SecOrErr) in getEntry()
564 return SecOrErr.takeError(); in getEntry()
565 return getEntry<T>(*SecOrErr, Entry); in getEntry()
HDELFObjectFile.h474 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName() local
476 return (*SecOrErr)->getName(); in getSymbolName()
857 Expected<const Elf_Shdr *> SecOrErr = EF.getSection(EShdr->sh_info); in getRelocatedSection() local
858 if (!SecOrErr) in getRelocatedSection()
859 return SecOrErr.takeError(); in getRelocatedSection()
860 return section_iterator(SectionRef(toDRI(*SecOrErr), this)); in getRelocatedSection()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-nm/
HDllvm-nm.cpp506 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() local
508 if (!SecOrErr) { in darwinPrintSymbol()
509 consumeError(SecOrErr.takeError()); in darwinPrintSymbol()
513 Sec = *SecOrErr; in darwinPrintSymbol()
1015 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() local
1016 if (!SecOrErr) { in getSymbolNMTypeChar()
1017 consumeError(SecOrErr.takeError()); in getSymbolNMTypeChar()
1020 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
HDDWARFContext.cpp1602 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in DWARFObjInMemory() local
1603 if (!SecOrErr) { in DWARFObjInMemory()
1605 "failed to get relocated section: ", SecOrErr.takeError())); in DWARFObjInMemory()
1614 section_iterator RelocatedSection = *SecOrErr; in DWARFObjInMemory()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDELFDumper.cpp1162 Expected<const Elf_Shdr *> SecOrErr = in getSymbolSectionName() local
1164 if (!SecOrErr) in getSymbolSectionName()
1165 return SecOrErr.takeError(); in getSymbolSectionName()
1166 return Obj->getSectionName(*SecOrErr); in getSymbolSectionName()