[compiler-rt] [scudo] Added test fixture for cache tests. (PR #102230)
Christopher Ferris via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 14:54:49 PDT 2024
================
@@ -265,3 +265,99 @@ TEST_F(MapAllocatorWithReleaseTest, SecondaryThreadsRace) {
Allocator->getStats(&Str);
Str.output();
}
+
+struct MapAllocatorCacheTest : public Test {
+ static constexpr scudo::u32 MarkerBytes = 0xDEADBEEF;
----------------
cferris1000 wrote:
Maybe a slightly better name would be UnmappedMarker. It's not really a bytes value, so it was confusing because I originally assumed it was a single byte pattern.
https://github.com/llvm/llvm-project/pull/102230
More information about the llvm-commits
mailing list