Lines Matching refs:coff_section
118 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
119 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
128 assert(Offset % sizeof(coff_section) == 0 && in toSec()
174 Expected<const coff_section *> Section = getSection(SectionNumber); in getSymbolAddress()
250 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection()
264 const coff_section *Sec = toSec(Ref); in moveSectionNext()
270 const coff_section *Sec = toSec(Ref); in getSectionName()
275 const coff_section *Sec = toSec(Ref); in getSectionAddress()
294 const coff_section *Sec = toSec(Ref); in getSectionContents()
302 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
311 const coff_section *Sec = toSec(Ref); in isSectionText()
316 const coff_section *Sec = toSec(Ref); in isSectionData()
321 const coff_section *Sec = toSec(Ref); in isSectionBSS()
344 assert((Offset % sizeof(coff_section)) == 0); in getSectionID()
345 return (Offset / sizeof(coff_section)) + 1; in getSectionID()
349 const coff_section *Sec = toSec(Ref); in isSectionVirtual()
355 static uint32_t getNumberOfRelocations(const coff_section *Sec, in getNumberOfRelocations()
376 getFirstReloc(const coff_section *Sec, MemoryBufferRef M, const uint8_t *Base) { in getFirstReloc()
396 const coff_section *Sec = toSec(Ref); in section_rel_begin()
406 const coff_section *Sec = toSec(Ref); in section_rel_end()
475 const coff_section *Section = getCOFFSection(S); in getRvaPtr()
510 const coff_section *Section = getCOFFSection(S); in getRvaAndSizeAsBytes()
926 (uint64_t)getNumberOfSections() * sizeof(coff_section))) in initialize()
1114 Expected<const coff_section *> COFFObjectFile::getSection(int32_t Index) const { in getSection()
1118 return (const coff_section *)nullptr; in getSection()
1188 COFFObjectFile::getSectionName(const coff_section *Sec) const { in getSectionName()
1209 uint64_t COFFObjectFile::getSectionSize(const coff_section *Sec) const { in getSectionSize()
1225 Error COFFObjectFile::getSectionContents(const coff_section *Sec, in getSectionContents()
1276 const coff_section *
1299 COFFObjectFile::getRelocations(const coff_section *Sec) const { in getRelocations()
1895 const coff_section *COFFSect = Obj->getCOFFSection(Section); in load()
1953 Expected<const coff_section *> Section = in getContents()