at v206 762 B view raw
1--- a/mysys/my_context.c 2+++ b/mysys/my_context.c 3@@ -206,15 +206,6 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d) 4 ( 5 "movq %%rsp, (%[save])\n\t" 6 "movq %[stack], %%rsp\n\t" 7-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER) 8- /* 9- This emits a DWARF DW_CFA_undefined directive to make the return address 10- undefined. This indicates that this is the top of the stack frame, and 11- helps tools that use DWARF stack unwinding to obtain stack traces. 12- (I use numeric constant to avoid a dependency on libdwarf includes). 13- */ 14- ".cfi_escape 0x07, 16\n\t" 15-#endif 16 "movq %%rbp, 8(%[save])\n\t" 17 "movq %%rbx, 16(%[save])\n\t" 18 "movq %%r12, 24(%[save])\n\t"