OLD | NEW |
(Empty) | |
| 1 //===-------------------------- unwind_ext.h ------------------------------===// |
| 2 // |
| 3 // The LLVM Compiler Infrastructure |
| 4 // |
| 5 // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 // Source Licenses. See LICENSE.TXT for details. |
| 7 // |
| 8 // |
| 9 // Extensions to unwind API. |
| 10 // |
| 11 //===----------------------------------------------------------------------===// |
| 12 |
| 13 #ifndef __UNWIND_EXT__ |
| 14 #define __UNWIND_EXT__ |
| 15 |
| 16 #include "unwind.h" |
| 17 |
| 18 #ifdef __cplusplus |
| 19 extern "C" { |
| 20 #endif |
| 21 |
| 22 // These platform specific functions to get and set the top context are |
| 23 // implemented elsewhere. |
| 24 |
| 25 extern struct _Unwind_FunctionContext * |
| 26 __Unwind_SjLj_GetTopOfFunctionStack(); |
| 27 |
| 28 extern void |
| 29 __Unwind_SjLj_SetTopOfFunctionStack(struct _Unwind_FunctionContext *fc); |
| 30 |
| 31 #ifdef __cplusplus |
| 32 } |
| 33 #endif |
| 34 |
| 35 #endif // __UNWIND_EXT__ |
| 36 |
| 37 |
OLD | NEW |