reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
77 Shdr.sh_size = Sec.Size; 98 Sec.Size = Sec.Symbols.size() * Sec.EntrySize; 106 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; 310 assert(Data.size() == Sec->Size); 367 assert(Sec.Size == Sec.StrTabBuilder.getSize()); 371 writeSection(&Sec, {nullptr, static_cast<size_t>(Sec.Size)}); 386 assert(Sec.Size == Sec.StrTabBuilder.getSize()); 387 std::vector<uint8_t> Data(Sec.Size); 426 ? (ZlibGnuMagic.size() + sizeof(Sec.Size)) 435 static_cast<size_t>(Sec.Size))) 468 Size = Data.size(); 525 Size = ChdrSize + CompressedData.size(); 553 Size = StrTabBuilder.getSize(); 575 Size = 0; 669 Size += this->EntrySize; 705 Size = Symbols.size() * EntrySize; 718 Size = 0; 1006 Size = alignTo(FileName.size() + 1, 4) + 4; 1027 reinterpret_cast<Elf_Word *>(Buf + Sec.Size - sizeof(Elf_Word)); 1063 uint64_t SecSize = Sec.Size ? Sec.Size : 1; 1063 uint64_t SecSize = Sec.Size ? Sec.Size : 1; 1154 DataSection.Size = Data.size(); 1165 /*Value=*/DataSection.Size, NewSymbolVisibility, 0, 0); 1167 /*Value=*/DataSection.Size, NewSymbolVisibility, SHN_ABS, 1197 if (!Section || Section->Addr + Section->Size != RecAddr) 1518 Sec.Size = Shdr.sh_size; 1797 if (Parent == nullptr || Sec.Type == SHT_NOBITS || Sec.Size == 0) 1801 std::memset(Buf.getBufferStart() + Offset, 0, Sec.Size); 1942 Offset += Sec.Size; 2190 TotalSize = std::max(TotalSize, Sec.Offset + Sec.Size); 2248 if (addressOverflows32bit(Addr) || addressOverflows32bit(Addr + Sec.Size - 1)) 2252 Addr, Addr + Sec.Size - 1);tools/llvm-objcopy/ELF/Object.h
494 Size = Data.size(); 544 Size = Sec.getDecompressedSize(); 633 assert(Size > 0); 639 Size = NumSymbols * 4;