darwin-unwind.h revision 302408
1162417Simp/* DWARF2 EH unwinding support for Darwin.
2162417Simp   Copyright (C) 2004 Free Software Foundation, Inc.
3162417Simp
4162417Simp   This file is part of GCC.
5162417Simp
6162417Simp   GCC is free software; you can redistribute it and/or modify it
7162417Simp   under the terms of the GNU General Public License as published by
8164019Sobrien   the Free Software Foundation; either version 2, or (at your option)
9164019Sobrien   any later version.
10164019Sobrien
11162417Simp   In addition to the permissions in the GNU General Public License, the
12162417Simp   Free Software Foundation gives you unlimited permission to link the
13162417Simp   compiled version of this file into combinations with other programs,
14162417Simp   and to distribute those combinations without any restriction coming
15162417Simp   from the use of this file.  (The General Public License restrictions
16162417Simp   do apply in other respects; for example, they cover modification of
17162417Simp   the file, and distribution when not linked into a combined
18164019Sobrien   executable.)
19162417Simp
20162417Simp   GCC is distributed in the hope that it will be useful, but WITHOUT
21162417Simp   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22162417Simp   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
23162417Simp   License for more details.
24162417Simp
25162417Simp   You should have received a copy of the GNU General Public License
26162417Simp   along with GCC; see the file COPYING.  If not, write to the Free
27164019Sobrien   Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
28162417Simp   02110-1301, USA.  */
29162417Simp
30162417Simpextern bool _Unwind_fallback_frame_state_for
31162417Simp  (struct _Unwind_Context *context, _Unwind_FrameState *fs);
32162417Simp
33162417Simp#define MD_FALLBACK_FRAME_STATE_FOR(CONTEXT, FS)	\
34162417Simp  (_Unwind_fallback_frame_state_for (CONTEXT, FS)	\
35162417Simp   ? _URC_NO_REASON : _URC_END_OF_STACK)
36162417Simp