mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
SEGV_{BND,PKU}ERR might not be defined.
This commit is contained in:
parent
8ab3409266
commit
00da3ba6eb
@ -559,12 +559,16 @@ static void CrashHandler( int signal, siginfo_t* info, void* ucontext )
|
||||
case SEGV_ACCERR:
|
||||
strcpy( msgPtr, "Invalid permissions for mapped object.\n" );
|
||||
break;
|
||||
# ifdef SEGV_BNDERR
|
||||
case SEGV_BNDERR:
|
||||
strcpy( msgPtr, "Failed address bound checks.\n" );
|
||||
break;
|
||||
# endif
|
||||
# ifdef SEGV_PKUERR
|
||||
case SEGV_PKUERR:
|
||||
strcpy( msgPtr, "Access was denied by memory protection keys.\n" );
|
||||
break;
|
||||
# endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user