[compiler-rt] [sanitizer][fuchsia] Fix fuchsia buildbot failure after 64790064e8246… (PR #82202)

via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 19:19:38 PST 2024


https://github.com/Enna1 created https://github.com/llvm/llvm-project/pull/82202

…7b43c04a70b6e9873e6939be81f

In https://github.com/llvm/llvm-project/pull/77488, a param `raw_report` is added for function `UnmapOrDie()`.
But missing the corresponding change for fuchsia, causes the buildbot failure, see https://lab.llvm.org/buildbot/#/builders/98/builds/33593.
This patch fixes the fuchsia buildbot failure.

>From 8c35815f1eb10cc9aa69f19224a6fec66abbc594 Mon Sep 17 00:00:00 2001
From: "xumingjie.enna1" <xumingjie.enna1 at bytedance.com>
Date: Mon, 19 Feb 2024 11:12:59 +0800
Subject: [PATCH] [sanitizer][fuchsia] Fix fuchsia buildbot failure after
 64790064e82467b43c04a70b6e9873e6939be81f

---
 compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
index 5f4f8c8c0078cd..2f291f7ca9ea10 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
@@ -413,7 +413,7 @@ void *MmapAlignedOrDieOnFatalError(uptr size, uptr alignment,
   return reinterpret_cast<void *>(addr);
 }
 
-void UnmapOrDie(void *addr, uptr size) {
+void UnmapOrDie(void *addr, uptr size, bool) {
   UnmapOrDieVmar(addr, size, gSanitizerHeapVmar);
 }
 



More information about the llvm-commits mailing list