blob: 0f1165e2a8ec5887d69d2986e4e1f6deefc6e426 [file] [log] [blame]
#define N SigNotify
#define T SigThrow
#define P SigPanic
SigTab runtimeยทsigtab[] = {
P, "sys: fp:",
// Go libraries expect to be able
// to recover from memory
// read/write errors, so we flag
// those as panics. All other traps
// are generally more serious and
// should immediately throw an
// exception.
P, "sys: trap: fault read addr",
P, "sys: trap: fault write addr",
T, "sys: trap:",
N, "sys: bad sys call",
};
#undef N
#undef T
#undef P