[libc-commits] [libc] [libc][cmake] pass -mthumb for thumb triples (PR #96550)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Jun 24 14:40:00 PDT 2024


nickdesaulniers wrote:

> > Android only cares about building llvm-libc for 32b ARM in thumb
> > mode
> 
> citation needed? i really don't think we do... thumb might well be Android's _global default_ for arm32, but that's (a) not required and (b) not what we actually use for any of the syscall stuff in bionic...

Let me rephrase.

While our continuous testing of 32b ARM of llvm-libc uses ARM mode (`-marm`), for Android support we also need to support Thumb mode (`-mthumb). ...

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


More information about the libc-commits mailing list