| /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/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 102 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() local 103 if (!SecOrErr) in getRelocationValueString() 104 return SecOrErr.takeError(); in getRelocationValueString() 114 if ((*SecOrErr)->sh_type == ELF::SHT_CREL) { in getRelocationValueString() 118 } else if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { in getRelocationValueString() 122 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) { in getRelocationValueString()
|
| H A D | llvm-objdump.cpp | 2742 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in printRelocations() local 2743 if (!SecOrErr) in printRelocations() 2747 toString(SecOrErr.takeError())); in printRelocations() 2748 SecToRelSec[**SecOrErr].push_back(Section); in printRelocations()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Object.cpp | 222 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection() local 223 if (!SecOrErr) { in LLVMMoveToContainingSection() 226 logAllUnhandledErrors(SecOrErr.takeError(), OS); in LLVMMoveToContainingSection() 229 *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/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 216 auto SecOrErr = Obj.getSection(SectionIndex); in graphifySymbols() local 217 if (!SecOrErr) in graphifySymbols() 220 " (" + toString(SecOrErr.takeError()) + ")"); in graphifySymbols() 221 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 | 581 Expected<section_iterator> SecOrErr = getSymbolSection(Sym); in getSymbolName() local 582 if (SecOrErr) in getSymbolName() 583 return (*SecOrErr)->getName(); in getSymbolName() 584 return SecOrErr.takeError(); in getSymbolName() 1093 Expected<const Elf_Shdr *> SecOrErr = EF.getSection(EShdr->sh_info); in getRelocatedSection() local 1094 if (!SecOrErr) in getRelocatedSection() 1095 return SecOrErr.takeError(); in getRelocatedSection() 1096 return section_iterator(SectionRef(toDRI(*SecOrErr), this)); in getRelocatedSection()
|
| H A D | ELF.h | 985 auto SecOrErr = getSection(Section); in getEntry() local 986 if (!SecOrErr) in getEntry() 987 return SecOrErr.takeError(); in getEntry() 988 return getEntry<T>(**SecOrErr, Entry); in getEntry()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 453 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() local 455 if (!SecOrErr) { in darwinPrintSymbol() 456 consumeError(SecOrErr.takeError()); in darwinPrintSymbol() 460 Sec = *SecOrErr; in darwinPrintSymbol() 1030 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() local 1031 if (!SecOrErr) { in getSymbolNMTypeChar() 1032 consumeError(SecOrErr.takeError()); in getSymbolNMTypeChar() 1035 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 1049 Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(SectionIndex); in getSymbolSectionName() local 1050 if (!SecOrErr) in getSymbolSectionName() 1051 return SecOrErr.takeError(); in getSymbolSectionName() 1052 return Obj.getSectionName(**SecOrErr); in getSymbolSectionName() 3831 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) { in getGroups() local 3832 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx}); in getGroups() 3836 ": " + toString(SecOrErr.takeError())); in getGroups() 6700 if (Expected<const Elf_Shdr *> SecOrErr = in getSymbolIndexesForFunctionAddress() local 6703 if (*FunctionSec != *SecOrErr) in getSymbolIndexesForFunctionAddress() 6710 "': " + toString(SecOrErr.takeError())); in getSymbolIndexesForFunctionAddress() [all …]
|
| H A D | COFFDumper.cpp | 1689 Expected<const coff_section *> SecOrErr = in printSymbol() local 1691 if (!SecOrErr) { in printSymbol() 1695 consumeError(SecOrErr.takeError()); in printSymbol() 1698 const coff_section *Section = *SecOrErr; in printSymbol()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 2159 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in DWARFObjInMemory() local 2160 if (!SecOrErr) { in DWARFObjInMemory() 2162 SecOrErr.takeError())); in DWARFObjInMemory() 2170 Obj.isRelocatableObject() ? *SecOrErr : Obj.section_end(); in DWARFObjInMemory()
|