[llvm] [Android] Drop workarounds for older Android API levels pre 9, 17 and 21 (PR #161911)

Brad Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 21:07:30 PDT 2025


brad0 wrote:

> Your PR description should not just be saying what you are doing, by why you are doing it. What policy are you following in these removals?

The Android NDK eventually drops support for Android versions. I have been garbage collecting bits for Operating Systems that are no longer supported whether it be FreeBSD/NetBSD/Android, etc.

> This one _looks_ OK to me in that these are older than the minimum API level of the current LTS NDK, but given that you also submitted #161893 where this is decidedly not the case, it's unclear to me what the underlying process driving these changes is.

The other patch was based on me being tagged in this other issue,  https://github.com/android/ndk/issues/2188  , originally I had everything as one patch and was going to wait but then split out the older bits that can be commited now. It'll be waiting until the NDK issue is completed, so NDK r31.



https://github.com/llvm/llvm-project/pull/161911


More information about the llvm-commits mailing list