Branch: Tag:

2017-02-21

2017-02-21 20:49:34 by Martin Karlgren <marty@roxen.com>

Add --with-mc-stack-frames configure option. (Currently X86-64 only.)

This will enable frame pointers in machine code, thereby allowing e.g.
Linux perf to unwind the stack and get proper stack traces including
Pike functions.

533:       switch(c->opcode)    { +  case F_START_FUNCTION: + #ifdef INS_START_FUNCTION +  INS_START_FUNCTION(); + #endif +  break;    case F_NOP:    case F_NOTREACHED: -  case F_START_FUNCTION: +     break;    case F_ALIGN:    ins_align(c->arg);