[compiler-rt] 145a929 - [scudo] Enable MemMapFuchsia

Fabio D'Urso via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 15:33:07 PDT 2023


Author: Fabio D'Urso
Date: 2023-08-02T00:31:47+02:00
New Revision: 145a9290c2ecee0eb43964ec13bcc080d4db6030

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

LOG: [scudo] Enable MemMapFuchsia

This CL re-enables the new MemMapFuchsia backend which was added
in https://reviews.llvm.org/D153888 but then disabled because of
failing tests in https://reviews.llvm.org/D154538.

The failing tests should be fixed now, let's reland it.

Reviewed By: Caslyn

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

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 409e4dbbe04b13..23d0ab61774567 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 = ReservedMemoryDefault;
+using ReservedMemoryT = ReservedMemoryFuchsia;
 using MemMapT = ReservedMemoryT::MemMapT;
 #elif SCUDO_TRUSTY
 using ReservedMemoryT = ReservedMemoryDefault;


        


More information about the llvm-commits mailing list