Branch: Tag:


2017-02-21 20:49:34 by Martin Karlgren <>

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.

82:   /* Enable internal profiling */   #undef INTERNAL_PROFILING    + /* Enable machine code stack frames */ + #undef MACHINE_CODE_STACK_FRAMES +    /* If possible, the expansion for a "#define short" to avoid that bison    * uses short everywhere internally. */   #undef BISON_SHORT_EXPANSION