Skip to content

Commit 7151c71

Browse files
committed
[sanitizer] Fix CompressStackStore VPrint message
1 parent 7d9f11b commit 7151c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static void CompressStackStore() {
7979
if (!diff)
8080
return;
8181
u64 finish = MonotonicNanoTime();
82-
uptr total_before = stackStore.Allocated() + diff;
82+
uptr total_before = theDepot.GetStats().allocated + diff;
8383
VPrintf(1, "%s: StackDepot released %zu KiB out of %zu KiB in %llu ms\n",
8484
SanitizerToolName, diff >> 10, total_before >> 10,
8585
(finish - start) / 1000000);

0 commit comments

Comments
 (0)