Home
last modified time | relevance | path

Searched refs:SectionsOrErr (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/llvm/tools/llvm-readobj/
DDwarfCFIEHPrinter.h51 Expected<typename ELFT::ShdrRange> SectionsOrErr = in findSectionByAddress() local
53 if (!SectionsOrErr) in findSectionByAddress()
54 reportError(SectionsOrErr.takeError(), ObjF.getFileName()); in findSectionByAddress()
56 for (const typename ELFT::Shdr &Shdr : *SectionsOrErr) in findSectionByAddress()
82 Expected<typename ELFT::ShdrRange> SectionsOrErr = Obj.sections(); in printUnwindInformation() local
83 if (!SectionsOrErr) in printUnwindInformation()
84 reportError(SectionsOrErr.takeError(), ObjF.getFileName()); in printUnwindInformation()
86 for (const Elf_Shdr &Shdr : *SectionsOrErr) { in printUnwindInformation()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFObjectFile.h324 auto SectionsOrErr = EF.sections(); in toDRI() local
325 if (!SectionsOrErr) { in toDRI()
330 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()
369 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local
370 if (!SectionsOrErr) in getBuildAttributes()
371 return SectionsOrErr.takeError(); in getBuildAttributes()
373 for (const Elf_Shdr &Sec : *SectionsOrErr) { in getBuildAttributes()
708 auto SectionsOrErr = EF.sections(); in getSectionIndex() local
709 handleAllErrors(std::move(SectionsOrErr.takeError()), in getSectionIndex()
713 const Elf_Shdr *First = SectionsOrErr->begin(); in getSectionIndex()
[all …]
DELF.h623 auto SectionsOrErr = sections(); in getSHNDXTable() local
624 if (!SectionsOrErr) in getSHNDXTable()
625 return SectionsOrErr.takeError(); in getSHNDXTable()
626 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()
661 auto SectionsOrErr = sections(); in getStringTableForSymtab() local
662 if (!SectionsOrErr) in getStringTableForSymtab()
663 return SectionsOrErr.takeError(); in getStringTableForSymtab()
664 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()
686 auto SectionsOrErr = sections(); in getSectionName() local
687 if (!SectionsOrErr) in getSectionName()
[all …]
/external/llvm-project/llvm/include/llvm/Object/
DELFObjectFile.h330 auto SectionsOrErr = EF.sections(); in toDRI() local
331 if (!SectionsOrErr) { in toDRI()
336 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()
375 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local
376 if (!SectionsOrErr) in getBuildAttributes()
377 return SectionsOrErr.takeError(); in getBuildAttributes()
379 for (const Elf_Shdr &Sec : *SectionsOrErr) { in getBuildAttributes()
472 auto SectionsOrErr = EF.sections(); in initContent() local
473 if (!SectionsOrErr) in initContent()
474 return SectionsOrErr.takeError(); in initContent()
[all …]
DELF.h670 auto SectionsOrErr = sections(); in getSHNDXTable() local
671 if (!SectionsOrErr) in getSHNDXTable()
672 return SectionsOrErr.takeError(); in getSHNDXTable()
673 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()
708 auto SectionsOrErr = sections(); in getStringTableForSymtab() local
709 if (!SectionsOrErr) in getStringTableForSymtab()
710 return SectionsOrErr.takeError(); in getStringTableForSymtab()
711 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()
733 auto SectionsOrErr = sections(); in getSectionName() local
734 if (!SectionsOrErr) in getSectionName()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp75 auto SectionsOrErr = Obj.sections(); in dump() local
76 if (std::error_code EC = SectionsOrErr.getError()) in dump()
78 for (const Elf_Shdr &Sec : *SectionsOrErr) { in dump()
/external/llvm/include/llvm/Object/
DELFObjectFile.h759 auto SectionsOrErr = EF.sections(); in ELFObjectFile() local
760 if ((EC = SectionsOrErr.getError())) in ELFObjectFile()
762 for (const Elf_Shdr &Sec : *SectionsOrErr) { in ELFObjectFile()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp290 auto SectionsOrErr = Obj.sections(); in dump() local
291 if (!SectionsOrErr) in dump()
292 return SectionsOrErr.takeError(); in dump()
293 Sections = *SectionsOrErr; in dump()