/external/llvm/lib/Object/ |
D | Object.cpp | 104 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection(); in LLVMMoveToContainingSection() local 105 if (!SecOrErr) { in LLVMMoveToContainingSection() 108 logAllUnhandledErrors(SecOrErr.takeError(), OS, ""); in LLVMMoveToContainingSection() 112 *unwrap(Sect) = *SecOrErr; in LLVMMoveToContainingSection()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 144 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()
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | Reader.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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Object.cpp | 220 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()
|
/external/llvm-project/llvm/lib/Object/ |
D | Object.cpp | 220 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()
|
/external/llvm-project/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 61 auto SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() local 62 if (!SecOrErr) in getRelocationValueString() 63 return SecOrErr.takeError(); in getRelocationValueString() 73 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { in getRelocationValueString() 77 } else if ((*SecOrErr)->sh_type != ELF::SHT_REL) { in getRelocationValueString()
|
D | llvm-objdump.cpp | 2254 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in printRelocations() local 2255 if (!SecOrErr) in printRelocations() 2259 toString(SecOrErr.takeError())); in printRelocations() 2260 SecToRelSec[**SecOrErr].push_back(Section); in printRelocations()
|
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 273 auto SecOrErr = Sym.getSection(); in notifyObjectLoaded() local 274 if (!SecOrErr) { in notifyObjectLoaded() 276 consumeError(SecOrErr.takeError()); in notifyObjectLoaded() 279 object::section_iterator Sec = *SecOrErr; in notifyObjectLoaded()
|
/external/llvm-project/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 452 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()
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 365 auto SecOrErr = Sym.getSection(); in printLineInfoForInput() local 366 if (!SecOrErr) { in printLineInfoForInput() 368 consumeError(SecOrErr.takeError()); in printLineInfoForInput() 371 object::section_iterator Sec = *SecOrErr; in printLineInfoForInput()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 422 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() local 424 if (!SecOrErr) { in darwinPrintSymbol() 425 consumeError(SecOrErr.takeError()); in darwinPrintSymbol() 429 section_iterator Sec = *SecOrErr; in darwinPrintSymbol() 856 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() local 857 if (!SecOrErr) { in getSymbolNMTypeChar() 858 consumeError(SecOrErr.takeError()); in getSymbolNMTypeChar() 861 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 562 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()
|
D | ELFObjectFile.h | 474 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()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 520 if (Expected<section_iterator> SecOrErr = getSymbolSection(Sym)) { in getSymbolName() local 522 return (*SecOrErr)->getName(); in getSymbolName() 944 Expected<const Elf_Shdr *> SecOrErr = EF.getSection(EShdr->sh_info); in getRelocatedSection() local 945 if (!SecOrErr) in getRelocatedSection() 946 return SecOrErr.takeError(); in getRelocatedSection() 947 return section_iterator(SectionRef(toDRI(*SecOrErr), this)); in getRelocatedSection()
|
D | ELF.h | 609 auto SecOrErr = getSection(Section); in getEntry() local 610 if (!SecOrErr) in getEntry() 611 return SecOrErr.takeError(); in getEntry() 612 return getEntry<T>(**SecOrErr, Entry); in getEntry()
|
/external/llvm-project/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 523 Expected<section_iterator> SecOrErr = in darwinPrintSymbol() local 525 if (!SecOrErr) { in darwinPrintSymbol() 526 consumeError(SecOrErr.takeError()); in darwinPrintSymbol() 530 Sec = *SecOrErr; in darwinPrintSymbol() 1044 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb); in getSymbolNMTypeChar() local 1045 if (!SecOrErr) { in getSymbolNMTypeChar() 1046 consumeError(SecOrErr.takeError()); in getSymbolNMTypeChar() 1049 section_iterator Sec = *SecOrErr; in getSymbolNMTypeChar()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 1278 Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(SectionIndex); in getSymbolSectionName() local 1279 if (!SecOrErr) in getSymbolSectionName() 1280 return SecOrErr.takeError(); in getSymbolSectionName() 1281 return Obj.getSectionName(**SecOrErr); in getSymbolSectionName() 3641 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) { in getGroups() local 3642 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx}); in getGroups() 3647 toString(SecOrErr.takeError())); in getGroups() 5847 if (Expected<const Elf_Shdr *> SecOrErr = in printFunctionStackSize() local 5849 if (*FunctionSec != *SecOrErr) in printFunctionStackSize() 5856 "': " + toString(SecOrErr.takeError())); in printFunctionStackSize() [all …]
|
D | COFFDumper.cpp | 1476 Expected<const coff_section *> SecOrErr = in printSymbol() local 1478 if (!SecOrErr) { in printSymbol() 1482 consumeError(SecOrErr.takeError()); in printSymbol() 1485 const coff_section *Section = *SecOrErr; in printSymbol()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFContext.cpp | 1602 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()
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFContext.cpp | 1671 Expected<section_iterator> SecOrErr = Section.getRelocatedSection(); in DWARFObjInMemory() local 1672 if (!SecOrErr) { in DWARFObjInMemory() 1674 SecOrErr.takeError())); in DWARFObjInMemory() 1681 section_iterator RelocatedSection = *SecOrErr; in DWARFObjInMemory()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 533 auto Add = [&](Expected<ELFYAML::Chunk *> SecOrErr) -> Error { in dumpSections() argument 534 if (!SecOrErr) in dumpSections() 535 return SecOrErr.takeError(); in dumpSections() 536 Ret.emplace_back(*SecOrErr); in dumpSections()
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 498 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); in getRelocationValueString() local 499 if (std::error_code EC = SecOrErr.getError()) in getRelocationValueString() 501 const Elf_Shdr *Sec = *SecOrErr; in getRelocationValueString()
|