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

Eli Friedman via libc-commits libc-commits at lists.llvm.org
Thu May 23 14:27:45 PDT 2024


efriedma-quic wrote:

> Unclear yet if we need to support THUMB(1); may depend on whether downstream users are using llvm-libc's cmake.

There are two issues here:

- Targets that support ARM-mode, but the user specified -mthumb for reduced codesize.  You can override the choice using `__attribute__((target("arm")))`.
- Targets that support neither ARM-mode nor Thumb2 (Cortex-M0 etc.).  This is a hardware limitation.

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


More information about the libc-commits mailing list