Searched refs:SectionsOrErr (Results 1 – 6 of 6) 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()
334 auto SectionsOrErr = EF.sections(); in toDRI() local335 if (!SectionsOrErr) { in toDRI()340 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI()379 auto SectionsOrErr = EF.sections(); in getBuildAttributes() local380 if (!SectionsOrErr) in getBuildAttributes()381 return SectionsOrErr.takeError(); in getBuildAttributes()383 for (const Elf_Shdr &Sec : *SectionsOrErr) { in getBuildAttributes()476 auto SectionsOrErr = EF.sections(); in initContent() local477 if (!SectionsOrErr) in initContent()478 return SectionsOrErr.takeError(); in initContent()[all …]
1117 auto SectionsOrErr = sections(); in getSHNDXTable() local1118 if (!SectionsOrErr) in getSHNDXTable()1119 return SectionsOrErr.takeError(); in getSHNDXTable()1120 return getSHNDXTable(Section, *SectionsOrErr); in getSHNDXTable()1155 auto SectionsOrErr = sections(); in getStringTableForSymtab() local1156 if (!SectionsOrErr) in getStringTableForSymtab()1157 return SectionsOrErr.takeError(); in getStringTableForSymtab()1158 return getStringTableForSymtab(Sec, *SectionsOrErr); in getStringTableForSymtab()1197 auto SectionsOrErr = sections(); in getSectionName() local1198 if (!SectionsOrErr) in getSectionName()[all …]
260 if (auto SectionsOrErr = Obj.sections()) in prepare() local261 Sections = *SectionsOrErr; in prepare()263 return SectionsOrErr.takeError(); in prepare()
289 auto SectionsOrErr = Obj.sections(); in dump() local290 if (!SectionsOrErr) in dump()291 return SectionsOrErr.takeError(); in dump()292 Sections = *SectionsOrErr; in dump()
488 auto SectionsOrErr = getSectionNames(getPdb()); in dumpModules() local489 if (!SectionsOrErr) in dumpModules()490 return SectionsOrErr.takeError(); in dumpModules()491 ArrayRef<std::string> Sections = *SectionsOrErr; in dumpModules()