Files
llvm/libc/include/setjmp.h.def
Nick Desaulniers (paternity leave) f1ce6a465d [libc][arm] implement a basic setjmp/longjmp (#93220)
Note: our baremetal arm configuration compiles this as
`--target=arm-none-eabi`, so this code is built in -marm mode. It could be
smaller with `--target=armv7-none-eabi -mthumb`. The assembler is valid ARMv5,
or THUMB2, but not THUMB(1).
2024-06-20 08:16:48 -07:00

18 lines
540 B
Modula-2

//===-- C standard library header setjmp.h --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SETJMP_H
#define LLVM_LIBC_SETJMP_H
#include "__llvm-libc-common.h"
#include "llvm-libc-types/jmp_buf.h"
%%public_api()
#endif // LLVM_LIBC_SETJMP_H