Branch: Tag:

2019-04-16

2019-04-16 12:35:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Add a backtrace frame for exit() at exit.

This makes it easier to identify backtraces that are
rooted in exit().

3498:    if (!f->context) {    if (f->pc == (void *)do_gc) {    SET_SVAL(bf->_fun, PIKE_T_STRING, 0, string, make_shared_string("gc")); +  } else if (f->pc == (void *)pike_do_exit) { +  SET_SVAL(bf->_fun, PIKE_T_STRING, 0, string, +  make_shared_string("exit"));    }    continue;    }