Lines Matching defs:SecIndex
54 void setGraphSymbol(COFFSectionIndex SecIndex, COFFSymbolIndex SymIndex,
58 if (!COFF::isReservedSectionNumber(SecIndex))
59 SymbolSets[SecIndex].insert({Sym.getOffset(), &Sym});
69 void setGraphBlock(COFFSectionIndex SecIndex, Block *B) {
70 assert(!GraphBlocks[SecIndex] && "Duplicate section at index");
71 assert(!COFF::isReservedSectionNumber(SecIndex) && "Invalid section index");
72 GraphBlocks[SecIndex] = B;
75 Block *getGraphBlock(COFFSectionIndex SecIndex) const {
76 if (SecIndex <= 0 ||
77 SecIndex >= static_cast<COFFSectionIndex>(GraphSymbols.size()))
79 return GraphBlocks[SecIndex];