This moves the majority of the unwind sources into the new project layout for libunwind. This was previously discussed on llvmdev at [1]. This is a purely movement related change, with the build infrastructure currently still residing in the libc++abi repository. [1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-January/081507.html llvm-svn: 235758
38 lines
822 B
C
38 lines
822 B
C
//===-------------------------- 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__
|
|
|
|
|