Lines Matching full:filesize
98 S.Header.PointerToRawData = FileSize; in layoutSections()
101 FileSize += S.Header.SizeOfRawData; // For executables, this is already in layoutSections()
106 S.Header.PointerToRelocations = FileSize; in layoutSections()
107 FileSize += sizeof(coff_relocation); in layoutSections()
110 S.Header.PointerToRelocations = S.Relocs.size() ? FileSize : 0; in layoutSections()
113 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections()
114 FileSize = alignTo(FileSize, FileAlignment); in layoutSections()
208 FileSize = SizeOfHeaders; in finalize()
235 size_t PointerToSymbolTable = FileSize; in finalize()
248 FileSize += SymTabSize + StrTabSize; in finalize()
249 FileSize = alignTo(FileSize, FileAlignment); in finalize()
383 Buf = WritableMemoryBuffer::getNewMemBuffer(FileSize); in write()
387 Twine::utohexstr(FileSize) + " bytes."); in write()