Searched refs:SectionsOrErr (Results 1 – 5 of 5) sorted by relevance
51 Expected<typename ELFT::ShdrRange> SectionsOrErr = in findSectionByAddress() local53 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() local83 if (!SectionsOrErr) in printUnwindInformation()84 reportError(SectionsOrErr.takeError(), ObjF.getFileName()); in printUnwindInformation()86 for (const Elf_Shdr &Shdr : *SectionsOrErr) { in printUnwindInformation()
321 auto SectionsOrErr = EF.sections(); in toDRI() local322 if (!SectionsOrErr) { in toDRI()327 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()366 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local367 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() local461 if (!SectionsOrErr) in initContent()462 return SectionsOrErr.takeError(); in initContent()[all …]
1083 auto SectionsOrErr = sections(); in getSHNDXTable() local1084 if (!SectionsOrErr) in getSHNDXTable()1085 return SectionsOrErr.takeError(); in getSHNDXTable()1086 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()1121 auto SectionsOrErr = sections(); in getStringTableForSymtab() local1122 if (!SectionsOrErr) in getStringTableForSymtab()1123 return SectionsOrErr.takeError(); in getStringTableForSymtab()1124 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()1163 auto SectionsOrErr = sections(); in getSectionName() local1164 if (!SectionsOrErr) in getSectionName()[all …]
286 auto SectionsOrErr = Obj.sections(); in dump() local287 if (!SectionsOrErr) in dump()288 return SectionsOrErr.takeError(); in dump()289 Sections = *SectionsOrErr; in dump()
1707 typename ELFT::ShdrRange SectionsOrErr = cantFail(Obj.sections()); in readSymbolVersionsELF() local1711 for (const Elf_Shdr &Sec : SectionsOrErr) { in readSymbolVersionsELF()