Dan Albert

Results 72 issues of Dan Albert

### Description Order files (much like PGO) need to be handled in steps of build instrumented -> run -> rebuild. Order files have some annoying requirements like not using `-O0`...

enhancement

### Description I wanted to share some work that we've been investigating for a while, and hopefully gather some feedback. This is all very preliminary (we don't even have a...

enhancement

### Description https://r.android.com/c/platform/ndk/+/2762666/9/tests/device/hwasan-smoke/test_config.py ### Affected versions Canary ### Canary version ToT ### Host OS Linux, Mac, Windows ### Host OS version glinux ### Affected ABIs armeabi-v7a, arm64-v8a, x86, x86_64 ###...

bug
development-environment

> We just found a pretty big landmine with this feature. In the example we just encountered this on: > > ```c++ > if (__builtin_available(android 29, *)) { > ATrace_beginAsyncSection("ndk::asyncBeginEndSection",...

enhancement

CMake supports clang-tidy (and has for a while): https://ortogonal.github.io/cmake-clang-tidy/ We probably need to set those properties in our toolchain/hooks so that CMake uses our clang-tidy instead of the host's.

enhancement
help wanted

### Description Order files require some processing before they're consumed by lld (why? could we just upstream whatever the script is doing into lld?): https://android.googlesource.com/toolchain/pgo-profiles/+/refs/heads/main/scripts/create_orderfile.py. We should include that script...

enhancement

https://github.com/llvm/llvm-project/issues/42620 was filed as a follow up for https://github.com/android/ndk/issues/593.

bug

### Description https://github.com/android/ndk/issues/1813 wasn't able to be fixed for the new toolchain file because CMake doesn't offer us that level of control. We need to get CMake fixed to allow...

bug
cmake-new-toolchain

Subtask for https://github.com/android/ndk/issues/1299

enhancement

**URL** None yet. **Problem** Executables in APKs are supported but there are a number of gotchas (the biggest being that if your binary is not named `lib*.so` it won't be...

docs