Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tools/
H A Dcompute_size_class_config.cpp22 const std::vector<size_t> &classes, size_t pageSize, in measureWastage() argument
33 if (wastage > 2 * pageSize) in measureWastage()
34 wastage = 2 * pageSize; in measureWastage()
73 size_t pageSize = 4096; in main() local
93 if (matchArg(pageSize, "-p") || matchArg(largestClass, "-c") || in main()
118 size_t newWastage = measureWastage(allocs, classes, pageSize, headerSize); in main()
147 measureWastage(allocs, classes, pageSize, headerSize), numBits, in main()
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Denable_execute_stack.c52 const uintptr_t pageSize = 4096; in __enable_execute_stack()
56 const uintptr_t pageSize = sysconf(_SC_PAGESIZE); in __enable_execute_stack()
59 const uintptr_t pageAlignMask = ~(pageSize - 1); in __enable_execute_stack()
63 (unsigned char *)((p + TRAMPOLINE_SIZE + pageSize) & pageAlignMask); in __enable_execute_stack()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/Inputs/
H A Dcode-signature-check.py59 pageSize: int
79 pageSize: int
101 pageSize: int
125 pageSize: int
152 pageSize: int
236 page_size = 1 << code_directory.pageSize
/llvm-project-15.0.7/lld/test/MachO/Inputs/
H A Dcode-signature-check.py59 pageSize: int
79 pageSize: int
101 pageSize: int
125 pageSize: int
152 pageSize: int
236 page_size = 1 << code_directory.pageSize
/llvm-project-15.0.7/compiler-rt/test/gwp_asan/
H A Dheap_buffer_overflow.cpp15 reinterpret_cast<char *>(malloc(pageSize())); in main()
16 volatile char x = *(Ptr + pageSize()); in main()
H A Dheap_buffer_underflow.cpp15 reinterpret_cast<char *>(malloc(pageSize())); in main()
H A Dpage_size.h6 unsigned pageSize() { in pageSize() function
/llvm-project-15.0.7/libc/loader/linux/aarch64/
H A Dstart.cpp74 if (mmap_ret_val < 0 && static_cast<uintptr_t>(mmap_ret_val) > -app.pageSize) in init_tls()
139 app.pageSize = aux_entry->value; in _start()
/llvm-project-15.0.7/libc/loader/linux/x86_64/
H A Dstart.cpp64 if (mmapRetVal < 0 && static_cast<uintptr_t>(mmapRetVal) > -app.pageSize) in init_tls()
152 app.pageSize = aux_entry->value; in _start()
/llvm-project-15.0.7/libc/config/linux/
H A Dapp.h67 uintptr_t pageSize; member
/llvm-project-15.0.7/lld/COFF/
H A DWriter.h21 static const int pageSize = 4096; variable
H A DLLDMapFile.cpp109 writeHeader(os, sec->getRVA(), sec->getVirtualSize(), /*align=*/pageSize); in writeLLDMapFile()
H A DWriter.cpp2044 const uint32_t mask = ~uint32_t(pageSize - 1); in addBaserelBlocks()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DSourceManagerTest.cpp315 const unsigned pageSize = llvm::sys::Process::getPageSizeEstimate(); in TEST_F() local
316 std::unique_ptr<char[]> source(new char[pageSize]); in TEST_F()
317 for(unsigned i = 0; i < pageSize; ++i) { in TEST_F()
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp998 uint64_t pageSize = target->getPageSize(); in finalizeAddresses() local
1029 fileOff = alignTo(fileOff, pageSize); in finalizeAddresses()
1030 addr = alignTo(addr, pageSize); in finalizeAddresses()
H A DSyntheticSections.cpp1355 codeDirectory->pageSize = blockSizeShift; in writeTo()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp501 CodeDirectory->pageSize = CodeSignature.BlockSizeShift; in writeCodeSignatureData()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DMachO.h2197 uint8_t pageSize; /* log2(page size in bytes); 0 => infinite */ member