Searched refs:kBlockSizeFrames (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stack_store.h | 21 static constexpr uptr kBlockSizeFrames = 0x100000; variable 23 static constexpr uptr kBlockSizeBytes = kBlockSizeFrames * sizeof(uptr); 35 static_assert(u64(kBlockCount) * kBlockSizeFrames == 1ull << (sizeof(Id) * 8), 57 return frame_idx / kBlockSizeFrames; in GetBlockIdx() 61 return frame_idx % kBlockSizeFrames; in GetInBlockIdx()
|
| H A D | sanitizer_stack_store.cpp | 86 CHECK_LE(count, kBlockSizeFrames); in Alloc() 87 uptr in_first = kBlockSizeFrames - GetInBlockIdx(start); in Alloc() 280 unpacked + kBlockSizeFrames); in GetOrUnpack() 284 unpacked + kBlockSizeFrames); in GetOrUnpack() 291 CHECK_EQ(kBlockSizeFrames, unpacked_end - unpacked); in GetOrUnpack() 327 CompressDelta(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack() 331 CompressLzw(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack() 371 kBlockSizeFrames; in Stored()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stack_store_test.cpp | 66 static constexpr uptr kBlockSizeFrames = StackStore::kBlockSizeFrames; member in __sanitizer::StackStoreTest 111 uptr next_pack = kBlockSizeFrames; in TEST_F() 120 next_pack += kBlockSizeFrames; in TEST_F() 128 EXPECT_EQ(GetTotalFramesCount() / kBlockSizeFrames, total_ready); in TEST_F() 163 store_.Load(kBlockSizeFrames * 7 + 123); in TEST_P() 185 for (uptr i = 0; i < kBlockSizeFrames * 4 / frames.size(); ++i) { in TEST_P()
|