Vilas Bhat
d98e1a86f3
ndk: Remove MALLOC_LOW_MEMORY config for the ndk
This switches the ndk to using scudo instead of jemalloc.
Bug: 337242400
Test:
Built NDK and tested lldb-server on both 4k and 16k devices
```
$ cd aosp && mkdir ndk_prebuilts
$ export OUT_DIR=ndk_prebuilts
$ ./build/soong/scripts/build-ndk-prebuilts.sh
$ cp -r ~/aosp/ndk_prebuilts/soong/ndk/sysroot/*
~/llvm-project/toolchain/prebuilts/ndk/releases/r27/toolchains/llvm/prebuilt/linux-x86_64/sysroot/
$ cd ../llvm-project
$ python3 toolchain/llvm_android/build.py
$ adb push out/stage2-install/runtimes_ndk_cxx/aarch64/lldb-server /data/local/tmp/
$ adb shell "getconf PAGE_SIZE"
16384
$ adb shell "strace /data/local/tmp/lldb-server"
<output trimmed>
mprotect(<address redacted>, 16384, PROT_READ) = 0
exit_group(0) = ?
+++ exited with 0 +++
```
Change-Id: I982595278d70cb39b9f6c7c8e9b95f12723fc5bf
2024-05-23 18:43:57 +00:00
..
2023-07-11 14:16:35 -07:00
2023-07-11 14:16:35 -07:00
2023-05-17 05:02:25 +00:00
2023-03-28 13:15:35 +00:00
2023-07-11 14:16:35 -07:00
2023-07-11 14:16:35 -07:00
2023-07-11 14:16:35 -07:00
2023-07-11 14:16:35 -07:00
2023-05-17 05:02:25 +00:00
2023-03-23 18:39:54 +00:00
2020-11-16 13:26:38 +01:00
2024-03-21 16:08:50 -07:00
2019-12-30 16:19:28 +08:00
2019-11-20 18:01:22 +08:00
2019-12-30 16:19:28 +08:00
2023-04-26 20:45:15 +00:00
2023-04-26 20:45:15 +00:00
2023-04-26 20:45:15 +00:00
2023-06-28 13:58:30 +01:00
2023-04-26 20:45:15 +00:00
2023-04-26 20:45:15 +00:00
2023-04-26 20:45:15 +00:00
2024-05-23 18:43:57 +00:00
2023-12-13 18:58:49 +00:00
2023-04-22 18:07:30 -07:00
2024-04-09 14:47:29 +09:00
2022-03-02 12:38:10 -08:00
2018-06-26 15:12:46 -07:00
2020-07-13 10:14:35 -07:00
2018-06-26 15:12:46 -07:00
2020-07-20 18:52:40 +00:00
2020-07-20 18:52:40 +00:00