Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELFObjectFile.h321 auto SectionsOrErr = EF.sections(); in toDRI() local
322 if (!SectionsOrErr) { in toDRI()
327 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()
366 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local
367 if (!SectionsOrErr) in getBuildAttributes()
368 return SectionsOrErr.takeError(); in getBuildAttributes()
370 for (const Elf_Shdr &Sec : *SectionsOrErr) { in getBuildAttributes()
460 auto SectionsOrErr = EF.sections(); in initContent() local
461 if (!SectionsOrErr) in initContent()
462 return SectionsOrErr.takeError(); in initContent()
[all …]
H A DELF.h1083 auto SectionsOrErr = sections(); in getSHNDXTable() local
1084 if (!SectionsOrErr) in getSHNDXTable()
1085 return SectionsOrErr.takeError(); in getSHNDXTable()
1086 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()
1121 auto SectionsOrErr = sections(); in getStringTableForSymtab() local
1122 if (!SectionsOrErr) in getStringTableForSymtab()
1123 return SectionsOrErr.takeError(); in getStringTableForSymtab()
1124 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()
1163 auto SectionsOrErr = sections(); in getSectionName() local
1164 if (!SectionsOrErr) in getSectionName()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Delf2yaml.cpp286 auto SectionsOrErr = Obj.sections(); in dump() local
287 if (!SectionsOrErr) in dump()
288 return SectionsOrErr.takeError(); in dump()
289 Sections = *SectionsOrErr; in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1707 typename ELFT::ShdrRange SectionsOrErr = cantFail(Obj.sections()); in readSymbolVersionsELF() local
1711 for (const Elf_Shdr &Sec : SectionsOrErr) { in readSymbolVersionsELF()