[Lldb-commits] [lldb] [lldb] Remove support and workarounds for Android 4 and older (PR #124047)

Brad Smith via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 23 11:32:44 PST 2025


================
@@ -25,13 +25,10 @@
 #include <sstream>
 
 #ifdef __ANDROID__
----------------
brad0 wrote:

> > The ptrace header issue and the bits from ar.h header I'll submit. SUN_LEN was only added 6 years ago so I figure keep it for a little bit longer.
> 
> but it's just a macro in a header, so as long as you're building with an _ndk_ that's less than 6 years old (and no _supported_ ndk is more than 1 year old), "this is fine".
> 
> (the ndk has a "unified headers" model where we use clang availability annotations _on functions_ so we can use the exact same headers regardless of what api level you're targeting. so any types/macros/etc "just work" even for OS releases where they weren't present.)

Ah, I was not aware of that.

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


More information about the lldb-commits mailing list