/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
H A D | COFFReader.cpp | 60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I); in readSections() local 61 if (!SecOrErr) in readSections() 62 return SecOrErr.takeError(); in readSections() 63 const coff_section *Sec = *SecOrErr; in readSections()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | Object.cpp | 223 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection() local 224 if (!SecOrErr) { in LLVMMoveToContainingSection() 227 logAllUnhandledErrors(SecOrErr.takeError(), OS); in LLVMMoveToContainingSection() 230 *unwrap(Sect) = *SecOrErr; in LLVMMoveToContainingSection()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
H A D | IntelJITEventListener.cpp | 274 auto SecOrErr = Sym.getSection(); in notifyObjectLoaded() local 275 if (!SecOrErr) { in notifyObjectLoaded() 277 consumeError(SecOrErr.takeError()); in notifyObjectLoaded() 280 object::section_iterator Sec = *SecOrErr; in notifyObjectLoaded()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 95 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() local 96 if (!SecOrErr) in getRelocationValueString() 97 return SecOrErr.takeError(); in getRelocationValueString() 107 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { in getRelocationValueString() 111 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) { in getRelocationValueString()
|
H A D | llvm-objdump.cpp | 2533 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in printRelocations() local 2534 if (!SecOrErr) in printRelocations() 2538 toString(SecOrErr.takeError())); in printRelocations() 2539 SecToRelSec[**SecOrErr].push_back(Section); in printRelocations()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | COFFLinkGraphBuilder.cpp | 222 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols() local 223 if (!SecOrErr) in graphifySymbols() 226 " (" + toString(SecOrErr.takeError()) + ")"); in graphifySymbols() 227 Sec = *SecOrErr; in graphifySymbols()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 503 auto SecOrErr = Sym.getSection(); in printLineInfoForInput() local 504 if (!SecOrErr) { in printLineInfoForInput() 506 consumeError(SecOrErr.takeError()); in printLineInfoForInput() 509 object::section_iterator Sec = *SecOrErr; in printLineInfoForInput() 515 } else if (auto SecOrErr = Sym.getSection()) in printLineInfoForInput() local 516 Address.SectionIndex = SecOrErr.get()->getIndex(); in printLineInfoForInput()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFObjectFile.h | 540 Expected<section_iterator> SecOrErr = getSymbolSection(Sym); in getSymbolName() local 541 if (SecOrErr) in getSymbolName() 542 return (*SecOrErr)->getName(); in getSymbolName() 543 return SecOrErr.takeError(); in getSymbolName() 1028 Expected<const Elf_Shdr *> SecOrErr = EF.getSection(EShdr->sh_info); in getRelocatedSection() local 1029 if (!SecOrErr) in getRelocatedSection() 1030 return SecOrErr.takeError(); in getRelocatedSection() 1031 return section_iterator(SectionRef(toDRI(*SecOrErr), this)); in getRelocatedSection()
|
H A D | ELF.h | 931 auto SecOrErr = getSection(Section); in getEntry() local 932 if (!SecOrErr) in getEntry() 933 return SecOrErr.takeError(); in getEntry() 934 return getEntry<T>(**SecOrErr, Entry); in getEntry()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 451 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() local 453 if (!SecOrErr) { in darwinPrintSymbol() 454 consumeError(SecOrErr.takeError()); in darwinPrintSymbol() 458 Sec = *SecOrErr; in darwinPrintSymbol() 1028 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() local 1029 if (!SecOrErr) { in getSymbolNMTypeChar() 1030 consumeError(SecOrErr.takeError()); in getSymbolNMTypeChar() 1033 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 1034 if (!SecOrErr) in getSymbolSectionName() 1035 return SecOrErr.takeError(); in getSymbolSectionName() 1036 return Obj.getSectionName(**SecOrErr); in getSymbolSectionName() 6451 if (Expected<const Elf_Shdr *> SecOrErr = in getSymbolIndexesForFunctionAddress() local 6454 if (*FunctionSec != *SecOrErr) in getSymbolIndexesForFunctionAddress() 6845 if (Expected<const Elf_Mips_ABIFlags<ELFT> *> SecOrErr = in printMipsABIFlags() local 6847 Flags = *SecOrErr; in printMipsABIFlags() 6849 this->reportUniqueWarning(SecOrErr.takeError()); in printMipsABIFlags() 8019 if (Expected<const Elf_Mips_ABIFlags<ELFT> *> SecOrErr = in printMipsABIFlags() local 8021 Flags = *SecOrErr; in printMipsABIFlags() [all …]
|
H A D | COFFDumper.cpp | 1640 Expected<const coff_section *> SecOrErr = in printSymbol() local 1642 if (!SecOrErr) { in printSymbol() 1646 consumeError(SecOrErr.takeError()); in printSymbol() 1649 const coff_section *Section = *SecOrErr; in printSymbol()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFContext.cpp | 2157 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in DWARFObjInMemory() local 2158 if (!SecOrErr) { in DWARFObjInMemory() 2160 SecOrErr.takeError())); in DWARFObjInMemory() 2168 Obj.isRelocatableObject() ? *SecOrErr : Obj.section_end(); in DWARFObjInMemory()
|