From e851f7dbcad2b8077f7ac0fb54ec85eac6f7c0b2 Mon Sep 17 00:00:00 2001 From: Wiktor Garbacz Date: Thu, 13 Oct 2022 10:40:27 -0700 Subject: [PATCH] Fix LSan build This change fixes a build bug introduced in 39db491957dcf095936d81bed89c2b4edae2a1e7 Differential Revision: https://reviews.llvm.org/D135860 --- compiler-rt/lib/lsan/lsan_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/lib/lsan/lsan_common.cpp b/compiler-rt/lib/lsan/lsan_common.cpp index 51218770d6dc..576274608c83 100644 --- a/compiler-rt/lib/lsan/lsan_common.cpp +++ b/compiler-rt/lib/lsan/lsan_common.cpp @@ -358,7 +358,8 @@ void ForEachExtraStackRangeCb(uptr begin, uptr end, void *arg) { # if SANITIZER_FUCHSIA // Fuchsia handles all threads together with its own callback. -static void ProcessThreads(SuspendedThreadsList const &, Frontier *) {} +static void ProcessThreads(SuspendedThreadsList const &, Frontier *, tid_t, + uptr) {} # else