Searched refs:SectionsOrErr (Results 1 – 8 of 8) 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()
324 auto SectionsOrErr = EF.sections(); in toDRI() local325 if (!SectionsOrErr) { in toDRI()330 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()369 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local370 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() local709 handleAllErrors(std::move(SectionsOrErr.takeError()), in getSectionIndex()713 const Elf_Shdr *First = SectionsOrErr->begin(); in getSectionIndex()[all …]
623 auto SectionsOrErr = sections(); in getSHNDXTable() local624 if (!SectionsOrErr) in getSHNDXTable()625 return SectionsOrErr.takeError(); in getSHNDXTable()626 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()661 auto SectionsOrErr = sections(); in getStringTableForSymtab() local662 if (!SectionsOrErr) in getStringTableForSymtab()663 return SectionsOrErr.takeError(); in getStringTableForSymtab()664 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()686 auto SectionsOrErr = sections(); in getSectionName() local687 if (!SectionsOrErr) in getSectionName()[all …]
330 auto SectionsOrErr = EF.sections(); in toDRI() local331 if (!SectionsOrErr) { in toDRI()336 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()375 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local376 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() local473 if (!SectionsOrErr) in initContent()474 return SectionsOrErr.takeError(); in initContent()[all …]
670 auto SectionsOrErr = sections(); in getSHNDXTable() local671 if (!SectionsOrErr) in getSHNDXTable()672 return SectionsOrErr.takeError(); in getSHNDXTable()673 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()708 auto SectionsOrErr = sections(); in getStringTableForSymtab() local709 if (!SectionsOrErr) in getStringTableForSymtab()710 return SectionsOrErr.takeError(); in getStringTableForSymtab()711 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()733 auto SectionsOrErr = sections(); in getSectionName() local734 if (!SectionsOrErr) in getSectionName()[all …]
75 auto SectionsOrErr = Obj.sections(); in dump() local76 if (std::error_code EC = SectionsOrErr.getError()) in dump()78 for (const Elf_Shdr &Sec : *SectionsOrErr) { in dump()
759 auto SectionsOrErr = EF.sections(); in ELFObjectFile() local760 if ((EC = SectionsOrErr.getError())) in ELFObjectFile()762 for (const Elf_Shdr &Sec : *SectionsOrErr) { in ELFObjectFile()
290 auto SectionsOrErr = Obj.sections(); in dump() local291 if (!SectionsOrErr) in dump()292 return SectionsOrErr.takeError(); in dump()293 Sections = *SectionsOrErr; in dump()