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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Enna1 (Enna1)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/82202.diff


1 Files Affected:

- (modified) compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp (+1-1) 


``````````diff
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);
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list