Lines Matching refs:sectionNumber
228 SectionChunk *ObjFile::readSection(uint32_t sectionNumber, in readSection() argument
231 const coff_section *sec = getSection(sectionNumber); in readSection()
237 fatal("getSectionName failed: #" + Twine(sectionNumber) + ": " + in readSection()
316 int32_t sectionNumber = sym.getSectionNumber(); in readAssociativeDefinition() local
326 Twine(sectionNumber) + ") has invalid reference to section " + in readAssociativeDefinition()
341 SectionChunk *c = readSection(sectionNumber, def, ""); in readAssociativeDefinition()
342 sparseChunks[sectionNumber] = c; in readAssociativeDefinition()
348 sparseChunks[sectionNumber] = nullptr; in readAssociativeDefinition()
361 int32_t sectionNumber = sym.getSectionNumber(); in recordPrevailingSymbolForMingw() local
362 SectionChunk *sc = sparseChunks[sectionNumber]; in recordPrevailingSymbolForMingw()
365 prevailingSectionMap[name] = sectionNumber; in recordPrevailingSymbolForMingw()
639 int32_t sectionNumber = sym.getSectionNumber(); in createDefined() local
640 if (sectionNumber == llvm::COFF::IMAGE_SYM_DEBUG) in createDefined()
643 if (llvm::COFF::isReservedSectionNumber(sectionNumber)) in createDefined()
645 " should not refer to special section " + Twine(sectionNumber)); in createDefined()
647 if ((uint32_t)sectionNumber >= sparseChunks.size()) in createDefined()
649 " should not refer to non-existent section " + Twine(sectionNumber)); in createDefined()
662 if (const coff_aux_section_definition *def = comdatDefs[sectionNumber]) { in createDefined()
663 comdatDefs[sectionNumber] = nullptr; in createDefined()
688 SectionChunk *c = readSection(sectionNumber, def, getName()); in createDefined()
689 sparseChunks[sectionNumber] = c; in createDefined()
694 sparseChunks[sectionNumber] = nullptr; in createDefined()
701 if (sparseChunks[sectionNumber] == pendingComdat) { in createDefined()
704 comdatDefs[sectionNumber] = def; in createDefined()