[compiler-rt] 4a5d626 - [scudo] SCUDO_FUCHSIA uses ReservedMemoryDefault
Caslyn Tonelli via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 13:22:36 PDT 2023
Author: Caslyn Tonelli
Date: 2023-07-05T20:22:17Z
New Revision: 4a5d6267832fd3dca1a21b7a9e42eca27ba102ca
URL: https://github.com/llvm/llvm-project/commit/4a5d6267832fd3dca1a21b7a9e42eca27ba102ca
DIFF: https://github.com/llvm/llvm-project/commit/4a5d6267832fd3dca1a21b7a9e42eca27ba102ca.diff
LOG: [scudo] SCUDO_FUCHSIA uses ReservedMemoryDefault
Some Fuchsia zx tests failed from https://reviews.llvm.org/D153888:
https://turquoise-internal-review.git.corp.google.com/c/integration/+/729619
Use `ReservedMemoryDefault` for `SCUDO_FUCHSIA` to use the default
MemMap API, while test failures are debugged.
Differential Revision: https://reviews.llvm.org/D154538
Added:
Modified:
compiler-rt/lib/scudo/standalone/mem_map.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/mem_map.h b/compiler-rt/lib/scudo/standalone/mem_map.h
index 23d0ab61774567..409e4dbbe04b13 100644
--- a/compiler-rt/lib/scudo/standalone/mem_map.h
+++ b/compiler-rt/lib/scudo/standalone/mem_map.h
@@ -76,7 +76,7 @@ class ReservedMemoryDefault final
using ReservedMemoryT = ReservedMemoryDefault;
using MemMapT = ReservedMemoryT::MemMapT;
#elif SCUDO_FUCHSIA
-using ReservedMemoryT = ReservedMemoryFuchsia;
+using ReservedMemoryT = ReservedMemoryDefault;
using MemMapT = ReservedMemoryT::MemMapT;
#elif SCUDO_TRUSTY
using ReservedMemoryT = ReservedMemoryDefault;
More information about the llvm-commits
mailing list