Use an unsigned 64-bit integer for exception class.
This matches the type in other unwind headers (LLVM libunwind, libcxxrt, glibc). NB: include/unwind.h is not installed but is only used by libthr Reviewed by: imp, dim, emaste Differential Revision: https://reviews.freebsd.org/D34049
This commit is contained in:
parent
4531b3450b
commit
b84693501a
@ -70,7 +70,7 @@ typedef void (*_Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code,
|
||||
struct _Unwind_Exception *);
|
||||
|
||||
typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn) (int, _Unwind_Action,
|
||||
__int64_t,
|
||||
__uint64_t,
|
||||
struct _Unwind_Exception *,
|
||||
struct _Unwind_Context *,
|
||||
void *);
|
||||
@ -82,7 +82,7 @@ typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn) (int, _Unwind_Action,
|
||||
IA-64, while being more general. */
|
||||
struct _Unwind_Exception
|
||||
{
|
||||
__int64_t exception_class;
|
||||
__uint64_t exception_class;
|
||||
_Unwind_Exception_Cleanup_Fn exception_cleanup;
|
||||
unsigned long private_1;
|
||||
unsigned long private_2;
|
||||
|
@ -61,7 +61,7 @@ static void thread_unwind(void) __dead2;
|
||||
static void thread_uw_init(void);
|
||||
static _Unwind_Reason_Code thread_unwind_stop(int version,
|
||||
_Unwind_Action actions,
|
||||
int64_t exc_class,
|
||||
uint64_t exc_class,
|
||||
struct _Unwind_Exception *exc_obj,
|
||||
struct _Unwind_Context *context, void *stop_parameter);
|
||||
/* unwind library pointers */
|
||||
@ -133,7 +133,7 @@ thread_unwind_cleanup(_Unwind_Reason_Code code __unused,
|
||||
|
||||
static _Unwind_Reason_Code
|
||||
thread_unwind_stop(int version __unused, _Unwind_Action actions,
|
||||
int64_t exc_class __unused,
|
||||
uint64_t exc_class __unused,
|
||||
struct _Unwind_Exception *exc_obj __unused,
|
||||
struct _Unwind_Context *context, void *stop_parameter __unused)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user