[scudo] SCUDO_FUCHSIA uses ReservedMemoryDefault
authorCaslyn Tonelli <caslyn@google.com>
Wed, 5 Jul 2023 18:49:21 +0000 (18:49 +0000)
committerCaslyn Tonelli <caslyn@google.com>
Wed, 5 Jul 2023 20:22:17 +0000 (20:22 +0000)
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

compiler-rt/lib/scudo/standalone/mem_map.h

index 23d0ab6..409e4db 100644 (file)
@@ -76,7 +76,7 @@ private:
 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;