[libc-commits] [libc] [libc][arm] implement a basic setjmp/longjmp (PR #93220)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Fri May 24 09:56:23 PDT 2024


petrhosek wrote:

> Oh, I forgot there's machines that ONLY support Thumb(1) such as cortex-m0. cc @smithp35
> 
> I guess a fundamental question we should answer for llvm-libc is "we claim to support 32b ARM, but we don't specify which minimum target architecture."
> 
> I think it would be handy to draw the line at armv6t2+, or even just armv7, but others (@petrhosek @smithp35 ) may feel differently?

Cortex-M0+ is hugely popular, we use in several of our products (some of which already use LLVM libc) and it's also used by popular boards such as Raspberry Pi Pico, so I don't think we can realistically draw the line at Thumb2 unless we're fine excluding significant portion of the embedded market.

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


More information about the libc-commits mailing list