Lines Matching defs:sectionNumber
233 SectionChunk *ObjFile::readSection(uint32_t sectionNumber,
236 const coff_section *sec = getSection(sectionNumber);
242 fatal("getSectionName failed: #" + Twine(sectionNumber) + ": " +
329 int32_t sectionNumber = sym.getSectionNumber();
339 Twine(sectionNumber) + ") has invalid reference to section " +
354 SectionChunk *c = readSection(sectionNumber, def, "");
355 sparseChunks[sectionNumber] = c;
361 sparseChunks[sectionNumber] = nullptr;
374 int32_t sectionNumber = sym.getSectionNumber();
375 SectionChunk *sc = sparseChunks[sectionNumber];
378 prevailingSectionMap[name] = sectionNumber;
652 int32_t sectionNumber = sym.getSectionNumber();
653 if (sectionNumber == llvm::COFF::IMAGE_SYM_DEBUG)
656 if (llvm::COFF::isReservedSectionNumber(sectionNumber))
658 " should not refer to special section " + Twine(sectionNumber));
660 if ((uint32_t)sectionNumber >= sparseChunks.size())
662 " should not refer to non-existent section " + Twine(sectionNumber));
675 if (const coff_aux_section_definition *def = comdatDefs[sectionNumber]) {
676 comdatDefs[sectionNumber] = nullptr;
701 SectionChunk *c = readSection(sectionNumber, def, getName());
702 sparseChunks[sectionNumber] = c;
709 sparseChunks[sectionNumber] = nullptr;
716 if (sparseChunks[sectionNumber] == pendingComdat) {
719 comdatDefs[sectionNumber] = def;