[compiler-rt] [scudo] Remove hard-coded use of AndroidConfig. (PR #66845)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 18:37:57 PDT 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
<details>
<summary>Changes</summary>
The bionic wrappers hard-coded use of AndroidConfig. This overrides the custom config code, so remove the hard-coding.
---
Full diff: https://github.com/llvm/llvm-project/pull/66845.diff
1 Files Affected:
- (modified) compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp (+1-1)
``````````diff
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"
``````````
</details>
https://github.com/llvm/llvm-project/pull/66845
More information about the llvm-commits
mailing list