ndk
ndk copied to clipboard
The Android Native Development Kit
These aren't useful until `minSdkVersion >= 28`, but we should hoist the `-Wl,--pack-dyn-relocs=android+relr` and `-Wl,--use-android-relr-tags` into the driver. So they are used automatically when available.
``` $ run_tests.py --filter test-cpufeatures.test_arm_idiv_support Finished pushing tests FAIL test-cpufeatures.test_arm_idiv_support [armeabi-v7a-19-new]: adb -s 04c90017 shell 'cd /data/local/tmp/tests/armeabi-v7a-19-new/ndk-build/test-cpufeatures/armeabi-v7a && LD_LIBRARY_PATH=/data/local/tmp/tests/armeabi-v7a-19-new/ndk-build/test-cpufeatures/armeabi-v7a ./test_arm_idiv_support 2>&1' android-19 razor 04c90017 KTU84P cpu-features reports the following CPUID:...
Filed https://gitlab.kitware.com/cmake/cmake/-/issues/22458 to track the definite piece of follow up work. I'm pretty sure I have the patch to send, but need to work out how to run their tests......
ndk-lint
We should package a tool in the NDK that can check a binary for any of the problems that will plague android apps: http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html
-------------------------------------------------------------------------------- #### Description Clang++ compilation of one specific source file in my project is terribly slow for 32-bit architectures. On my Core i7-3770K, compiling `aarch64` object file takes 13 seconds,...
Time to dust off that ICU4C wrapper and get it shipped.
### URL https://developer.android.com/ndk/reference ### Problem The API reference docs should include a bug URL for every API we ship. Folks often end up here asking for API help which we're...
### URL https://developer.android.com/ndk/guides/android_mk, https://developer.android.com/ndk/guides/abis, https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md ### Problem r25 added `LOCAL_BRANCH_PROTECTION` as an option for Android.mk. We should document that, and we should also document the compiler options for other build...
ubsan has a feature originaly to print stack trace of UB. however on android port this seems to not work print_stacktrace=1 to ASAN and UBSAN but this doesn't seem to...
### Description Using `vld1_u8()` intrinsic for out of bound data loading, if with Address Sanitizer, there should report invalid heap memory read, but actually no report generated. The key code:...