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.

39:   /* Size of the prologue added by INS_ENTRY() (in PIKE_OPCODE_T's). */   #define ENTRY_PROLOGUE_SIZE 0x14    + void amd64_ins_start_function(void); + #define INS_START_FUNCTION amd64_ins_start_function +    void amd64_flush_code_generator_state(void);   #define FLUSH_CODE_GENERATOR_STATE() amd64_flush_code_generator_state()