[compiler-rt] 93e12f1 - [scudo] Remove hard-coded use of AndroidConfig. (#66845)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 13:49:01 PDT 2023


Author: Christopher Ferris
Date: 2023-09-20T13:48:57-07:00
New Revision: 93e12f1160f91745bff3771d6f3f39e7f088cf78

URL: https://github.com/llvm/llvm-project/commit/93e12f1160f91745bff3771d6f3f39e7f088cf78
DIFF: https://github.com/llvm/llvm-project/commit/93e12f1160f91745bff3771d6f3f39e7f088cf78.diff

LOG: [scudo] Remove hard-coded use of AndroidConfig. (#66845)

The bionic wrappers hard-coded use of AndroidConfig. This overrides the
custom config code, so remove the hard-coding.

Added: 
    

Modified: 
    compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp b/compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
index 4e8e37ac293b86a..4fed44779b9020d 100644
--- a/compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
+++ b/compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
@@ -27,7 +27,7 @@
 
 extern "C" void SCUDO_PREFIX(malloc_postinit)();
 SCUDO_REQUIRE_CONSTANT_INITIALIZATION
-static scudo::Allocator<scudo::AndroidConfig, SCUDO_PREFIX(malloc_postinit)>
+static scudo::Allocator<scudo::Config, SCUDO_PREFIX(malloc_postinit)>
     SCUDO_ALLOCATOR;
 
 #include "wrappers_c.inc"


        


More information about the llvm-commits mailing list