Home
last modified time | relevance | path

Searched refs:SectionOrErr (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/llvm/lib/Remarks/
DRemarkLinker.cpp104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); in link() local
105 if (!SectionOrErr) in link()
106 return SectionOrErr.takeError(); in link()
108 if (Optional<StringRef> Section = *SectionOrErr) in link()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemarkLinker.cpp104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); in link() local
105 if (!SectionOrErr) in link()
106 return SectionOrErr.takeError(); in link()
108 if (Optional<StringRef> Section = *SectionOrErr) in link()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFI386.h52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
53 if (!SectionOrErr) in processRelocationRef()
54 return SectionOrErr.takeError(); in processRelocationRef()
55 auto Section = *SectionOrErr; in processRelocationRef()
DRuntimeDyldCOFFThumb.h74 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
75 if (!SectionOrErr) in processRelocationRef()
76 return SectionOrErr.takeError(); in processRelocationRef()
77 auto Section = *SectionOrErr; in processRelocationRef()
DRuntimeDyldCOFFAArch64.h155 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
156 if (!SectionOrErr) in processRelocationRef()
157 return SectionOrErr.takeError(); in processRelocationRef()
158 auto Section = *SectionOrErr; in processRelocationRef()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFI386.h52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
53 if (!SectionOrErr) in processRelocationRef()
54 return SectionOrErr.takeError(); in processRelocationRef()
55 auto Section = *SectionOrErr; in processRelocationRef()
DRuntimeDyldCOFFThumb.h74 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
75 if (!SectionOrErr) in processRelocationRef()
76 return SectionOrErr.takeError(); in processRelocationRef()
77 auto Section = *SectionOrErr; in processRelocationRef()
DRuntimeDyldCOFFAArch64.h156 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
157 if (!SectionOrErr) in processRelocationRef()
158 return SectionOrErr.takeError(); in processRelocationRef()
159 auto Section = *SectionOrErr; in processRelocationRef()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFI386.h53 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
54 if (!SectionOrErr) in processRelocationRef()
55 return SectionOrErr.takeError(); in processRelocationRef()
56 auto Section = *SectionOrErr; in processRelocationRef()
DRuntimeDyldCOFFThumb.h52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
53 if (!SectionOrErr) in processRelocationRef()
54 return SectionOrErr.takeError(); in processRelocationRef()
55 auto Section = *SectionOrErr; in processRelocationRef()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp459 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols() local
460 if (!SectionOrErr) { in loadMainBinarySymbols()
462 consumeError(SectionOrErr.takeError()); in loadMainBinarySymbols()
465 Section = *SectionOrErr; in loadMainBinarySymbols()
/external/llvm-project/llvm/tools/dsymutil/
DMachODebugMapParser.cpp558 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols() local
559 if (!SectionOrErr) { in loadMainBinarySymbols()
561 consumeError(SectionOrErr.takeError()); in loadMainBinarySymbols()
564 Section = *SectionOrErr; in loadMainBinarySymbols()
/external/llvm/include/llvm/Object/
DELF.h470 ErrorOr<const Elf_Shdr *> SectionOrErr = getSection(Sec.sh_link); in getStringTableForSymtab() local
471 if (std::error_code EC = SectionOrErr.getError()) in getStringTableForSymtab()
473 return getStringTable(*SectionOrErr); in getStringTableForSymtab()
DELFObjectFile.h415 ErrorOr<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local
417 if (std::error_code EC = SectionOrErr.getError()) in getSymbolAddress()
419 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELF.h676 auto SectionOrErr = object::getSection<ELFT>(Sections, Sec.sh_link); in getStringTableForSymtab() local
677 if (!SectionOrErr) in getStringTableForSymtab()
678 return SectionOrErr.takeError(); in getStringTableForSymtab()
679 return getStringTable(*SectionOrErr); in getStringTableForSymtab()
DELFObjectFile.h532 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress() local
533 if (!SectionOrErr) in getSymbolAddress()
534 return SectionOrErr.takeError(); in getSymbolAddress()
535 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
/external/llvm-project/llvm/include/llvm/Object/
DELF.h722 Expected<const Elf_Shdr *> SectionOrErr = in getStringTableForSymtab() local
724 if (!SectionOrErr) in getStringTableForSymtab()
725 return SectionOrErr.takeError(); in getStringTableForSymtab()
726 return getStringTable(**SectionOrErr); in getStringTableForSymtab()
DELFObjectFile.h591 Expected<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local
593 if (!SectionOrErr) in getSymbolAddress()
594 return SectionOrErr.takeError(); in getSymbolAddress()
595 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1015 Expected<section_iterator> SectionOrErr = Symbol.getSection(); in DisassembleObject() local
1016 error(errorToErrorCode(SectionOrErr.takeError())); in DisassembleObject()
1017 section_iterator SecI = *SectionOrErr; in DisassembleObject()
1412 Expected<section_iterator> SectionOrErr = Symbol.getSection(); in PrintSymbolTable() local
1413 error(errorToErrorCode(SectionOrErr.takeError())); in PrintSymbolTable()
1414 section_iterator Section = *SectionOrErr; in PrintSymbolTable()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp1239 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
1240 if (!SectionOrErr) { in processRelocationRef()
1243 logAllUnhandledErrors(SectionOrErr.takeError(), OS, ""); in processRelocationRef()
1247 section_iterator si = *SectionOrErr; in processRelocationRef()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp1167 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
1168 if (!SectionOrErr) { in processRelocationRef()
1171 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()
1175 section_iterator si = *SectionOrErr; in processRelocationRef()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp1160 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local
1161 if (!SectionOrErr) { in processRelocationRef()
1164 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()
1168 section_iterator si = *SectionOrErr; in processRelocationRef()
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp298 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local
299 if (!SectionOrErr) in parseSegmentLoadCommand()
300 return SectionOrErr.takeError(); in parseSegmentLoadCommand()
301 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp298 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local
299 if (!SectionOrErr) in parseSegmentLoadCommand()
300 return SectionOrErr.takeError(); in parseSegmentLoadCommand()
301 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp5922 Expected<const Elf_Shdr *> SectionOrErr = in printStackSize() local
5924 if (!SectionOrErr) { in printStackSize()
5927 (*TargetOrErr).Name + "': " + toString(SectionOrErr.takeError())); in printStackSize()
5928 } else if (*SectionOrErr != FunctionSec) { in printStackSize()
5933 FunctionSec = *SectionOrErr; in printStackSize()