From 655c0bfe2cb40a3e628e319dd90c35ef722d18ba Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Wed, 1 Dec 2021 18:41:54 -0800 Subject: [PATCH] [NFC][sanitizer] Use more bytes of sanitizer_stack_store_test pointers --- compiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp index d6aa1fc..031f2d9 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp @@ -26,7 +26,7 @@ class StackStoreTest : public testing::Test { template void ForEachTrace(Fn fn, uptr n = 1000000) { std::vector frames(kStackTraceMax); - std::iota(frames.begin(), frames.end(), 1); + std::iota(frames.begin(), frames.end(), 0x100000); MurMur2HashBuilder h(0); for (uptr i = 0; i < n; ++i) { h.add(i); -- 2.7.4