d98e1a86f3
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 |
||
---|---|---|
.. | ||
board | ||
product |