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