aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxrt/unwind.h
blob: d1b774cc39020256ed16948a5452ca392d03463d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <contrib/libs/libunwind/include/unwind.h>

#define DECLARE_PERSONALITY_FUNCTION(name) \
	_Unwind_Reason_Code name(int version,\ 
			_Unwind_Action actions,\ 
			uint64_t exceptionClass,\ 
			struct _Unwind_Exception *exceptionObject,\ 
			struct _Unwind_Context *context); 
#define BEGIN_PERSONALITY_FUNCTION(name) \
	_Unwind_Reason_Code name(int version,\ 
			_Unwind_Action actions,\ 
			uint64_t exceptionClass,\ 
			struct _Unwind_Exception *exceptionObject,\ 
			struct _Unwind_Context *context)\ 
{

#define CALL_PERSONALITY_FUNCTION(name) name(version, actions, exceptionClass, exceptionObject, context)