Home
last modified time | relevance | path

Searched refs:headerSize (Results 1 – 13 of 13) sorted by relevance

/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tools/
H A Dcompute_size_class_config.cpp23 size_t headerSize) { in measureWastage() argument
26 size_t sizePlusHeader = a.size + headerSize; in measureWastage()
75 size_t headerSize = 16; in main() local
94 matchArg(headerSize, "-h") || matchArg(numClasses, "-n") || in main()
112 if (__builtin_ctzl(newClass - headerSize) + in main()
113 __builtin_clzl(newClass - headerSize) < in main()
129 size_t minSizeLog = log2Floor(headerSize); in main()
133 size_t midSizeLog = log2Floor(classes[midSizeIndex] - headerSize); in main()
134 size_t maxSizeLog = log2Floor(classes.back() - headerSize - 1) + 1; in main()
147 measureWastage(allocs, classes, pageSize, headerSize), numBits, in main()
[all …]
/openbsd/gnu/llvm/lld/MachO/
H A DTarget.h50 headerSize = sizeof(typename LP::mach_header); in TargetInfo()
119 size_t headerSize; variable
H A DInputFiles.h331 reinterpret_cast<const uint8_t *>(hdr) + target->headerSize; in findCommands()
H A DSyntheticSections.cpp94 uint64_t size = target->headerSize + sizeOfCmds + config->headerPad; in getSize()
164 uint8_t *p = reinterpret_cast<uint8_t *>(hdr) + target->headerSize; in writeTo()
H A DInputFiles.cpp1758 target->headerSize; in parseLoadCommands()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.h33 size_t headerSize() const;
H A DMachOWriter.cpp28 size_t MachOWriter::headerSize() const { in headerSize() function in MachOWriter
132 return headerSize() + loadCommandsSize(); in totalSize()
157 reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + headerSize(); in writeLoadCommands()
/openbsd/gnu/llvm/lld/ELF/
H A DSyntheticSections.h148 static const unsigned headerSize = 16; variable
154 size_t getSize() const override { return headerSize + hashSize; } in getSize()
739 size_t headerSize; variable
H A DLinkerScript.cpp1275 uint64_t headerSize = getHeaderSize(); in allocateHeaders() local
1277 headerSize <= min - computeBase(min, hasExplicitHeaders)) { in allocateHeaders()
1278 min = alignDown(min - headerSize, config->maxPageSize); in allocateHeaders()
H A DSymbols.cpp190 : in.plt->getVA() + in.plt->headerSize + in getPltVA()
H A DSyntheticSections.cpp2491 headerSize(target->pltHeaderSize) { in PltSection()
2518 size_t off = headerSize; in writeTo()
2533 return headerSize + entries.size() * target->pltEntrySize; in getSize()
2546 size_t off = headerSize; in addSymbols()
2598 return headerSize + entries.size() * target->pltEntrySize + footerSize; in getSize()
H A DRelocations.cpp1683 cast<Defined>(sym).value = in.plt->headerSize; in postScanRelocations()
1684 in.plt->headerSize += 16; in postScanRelocations()
/openbsd/gnu/llvm/lld/ELF/Arch/
H A DPPC.cpp195 write32(buf, in.plt->getVA() + in.plt->headerSize + 4 * s.getPltIdx()); in writeGotPlt()