From 7151c71481be2858a24cc7c0d9c1627642ee9de4 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 7 Dec 2021 00:10:25 -0800 Subject: [PATCH] [sanitizer] Fix CompressStackStore VPrint message --- compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp index 308bd94..af107b3 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp @@ -79,7 +79,7 @@ static void CompressStackStore() { if (!diff) return; u64 finish = MonotonicNanoTime(); - uptr total_before = stackStore.Allocated() + diff; + uptr total_before = theDepot.GetStats().allocated + diff; VPrintf(1, "%s: StackDepot released %zu KiB out of %zu KiB in %llu ms\n", SanitizerToolName, diff >> 10, total_before >> 10, (finish - start) / 1000000); -- 2.7.4