[compiler-rt] e851f7d - Fix LSan build

Haowei Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 10:44:43 PDT 2022


Author: Wiktor Garbacz
Date: 2022-10-13T10:44:27-07:00
New Revision: e851f7dbcad2b8077f7ac0fb54ec85eac6f7c0b2

URL: https://github.com/llvm/llvm-project/commit/e851f7dbcad2b8077f7ac0fb54ec85eac6f7c0b2
DIFF: https://github.com/llvm/llvm-project/commit/e851f7dbcad2b8077f7ac0fb54ec85eac6f7c0b2.diff

LOG: Fix LSan build

This change fixes a build bug introduced in
39db491957dcf095936d81bed89c2b4edae2a1e7

Differential Revision: https://reviews.llvm.org/D135860

Added: 
    

Modified: 
    compiler-rt/lib/lsan/lsan_common.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/lsan/lsan_common.cpp b/compiler-rt/lib/lsan/lsan_common.cpp
index 51218770d6dcc..576274608c83e 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
 


        


More information about the llvm-commits mailing list