reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
34 extern std::vector<Partition> partitions;
102 partitions = {Partition()}; 1526 for (Partition &part : partitions) { 1551 if (partitions.size() == 254) 1554 partitions.emplace_back(); 1555 Partition &newPart = partitions.back(); 1876 mainPart = &partitions[0];tools/lld/ELF/MarkLive.cpp
366 for (unsigned curPart = 1; curPart <= partitions.size(); ++curPart) 372 if (partitions.size() != 1)tools/lld/ELF/SyntheticSections.cpp
3566 return 12 * (partitions.size() - 1); 3570 for (size_t i = 1; i != partitions.size(); ++i) 3571 partitions[i].nameStrTab = mainPart->dynStrTab->addString(partitions[i].name); 3571 partitions[i].nameStrTab = mainPart->dynStrTab->addString(partitions[i].name); 3576 for (size_t i = 1; i != partitions.size(); ++i) { 3577 write32(buf, mainPart->dynStrTab->getVA() + partitions[i].nameStrTab - va); 3578 write32(buf + 4, partitions[i].elfHeader->getVA() - (va + 4)); 3581 i == partitions.size() - 1 ? in.partEnd : partitions[i + 1].elfHeader; 3581 i == partitions.size() - 1 ? in.partEnd : partitions[i + 1].elfHeader; 3582 write32(buf + 8, next->getVA() - partitions[i].elfHeader->getVA());tools/lld/ELF/SyntheticSections.h
1138 unsigned getNumber() const { return this - &partitions[0] + 1; } 1145 return partitions[partition - 1];tools/lld/ELF/Writer.cpp
157 for (unsigned part = 2; part != partitions.size() + 1; ++part) { 320 for (size_t i = 1; i <= partitions.size(); ++i) { 368 for (Partition &part : partitions) { 449 if (partitions.size() != 1) { 572 for (Partition &part : partitions) 580 for (Partition &part : partitions) 1023 for (Partition &part : partitions) { 1058 for (Partition &part : partitions) { 1580 for (Partition &part : partitions) { 1734 for (Partition &part : partitions) 1789 partitions[sym->partition - 1].dynSymTab->addSymbol(sym); 1798 for (Partition &part : MutableArrayRef<Partition>(partitions).slice(1)) { 1846 for (Partition &part : partitions) { 1893 for (Partition &part : partitions) { 2278 for (Partition &part : partitions) { 2343 for (Partition &part : partitions) 2627 for (Partition &part : partitions) { 2702 for (Partition &part : partitions) 2735 for (Partition &part : partitions)