Skip to content

Commit 3137b6a

Browse files
committed
[lsan] Make ReportUnsuspendedThreads return bool also for Fuchsia
Follow-up to 9766ce4
1 parent f58e85a commit 3137b6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler-rt/lib/lsan/lsan_common.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,9 @@ void LeakSuppressionContext::PrintMatchedSuppressions() {
698698

699699
// Fuchsia provides a libc interface that guarantees all threads are
700700
// covered, and SuspendedThreadList is never really used.
701-
static void ReportUnsuspendedThreads(const SuspendedThreadsList &) {}
701+
static bool ReportUnsuspendedThreads(const SuspendedThreadsList &) {
702+
return true;
703+
}
702704

703705
# else // !SANITIZER_FUCHSIA
704706

0 commit comments

Comments
 (0)