1 //===-------------------------- unwind_ext.h ------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
9 // Extensions to unwind API.
11 //===----------------------------------------------------------------------===//
13 #ifndef __UNWIND_EXT__
14 #define __UNWIND_EXT__
22 // These platform specific functions to get and set the top context are
23 // implemented elsewhere.
25 extern struct _Unwind_FunctionContext *
26 __Unwind_SjLj_GetTopOfFunctionStack();
29 __Unwind_SjLj_SetTopOfFunctionStack(struct _Unwind_FunctionContext *fc);
35 #endif // __UNWIND_EXT__