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