Merge "Add new segv type SEGV_CPERR." into main
This commit is contained in:
commit
cb8ee7580d
1 changed files with 3 additions and 1 deletions
|
@ -382,8 +382,10 @@ const char* get_sigcode(const siginfo_t* si) {
|
|||
return "SEGV_MTEAERR";
|
||||
case SEGV_MTESERR:
|
||||
return "SEGV_MTESERR";
|
||||
case SEGV_CPERR:
|
||||
return "SEGV_CPERR";
|
||||
}
|
||||
static_assert(NSIGSEGV == SEGV_MTESERR, "missing SEGV_* si_code");
|
||||
static_assert(NSIGSEGV == SEGV_CPERR, "missing SEGV_* si_code");
|
||||
break;
|
||||
case SIGSYS:
|
||||
switch (si->si_code) {
|
||||
|
|
Loading…
Reference in a new issue