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

via libc-commits libc-commits at lists.llvm.org
Mon Jun 24 14:59:24 PDT 2024


enh-google wrote:

> 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). ...

why do you? bionic doesn't compile any of its syscall stubs as thumb. why should you?

(i'm not saying there aren't maybe microcontroller use cases or whatever, but (a) _Android_ doesn't care and (b) ILP32 will be completely dead to us soon anyway.)

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


More information about the libc-commits mailing list