1 /* Definitions for unwind-resume.c. Generic version.
2 Copyright (C) 2015-2024 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If
17 not, see <https://www.gnu.org/licenses/>. */
19 /* These describe the arguments to unwinder personality functions,
20 specifically __gcc_personality_v0. A machine-specific sysdeps
21 file might define them differently. */
22 #define PERSONALITY_PROTO \
23 (int version, _Unwind_Action actions, \
24 _Unwind_Exception_Class exception_class, \
25 struct _Unwind_Exception *ue_header, \
26 struct _Unwind_Context *context)
27 #define PERSONALITY_ARGS \
28 (version, actions, exception_class, ue_header, context)
30 /* This is defined nonzero by a machine-specific sysdeps file if
31 _Unwind_Resume is provided separately and thus the generic C
32 version should not be defined. */
33 #define HAVE_ARCH_UNWIND_RESUME 0