… | |
… | |
88 | volatile void *arg = coro_init_arg; |
88 | volatile void *arg = coro_init_arg; |
89 | |
89 | |
90 | coro_transfer (new_coro, create_coro); |
90 | coro_transfer (new_coro, create_coro); |
91 | |
91 | |
92 | #if __GCC_HAVE_DWARF2_CFI_ASM && __amd64 |
92 | #if __GCC_HAVE_DWARF2_CFI_ASM && __amd64 |
|
|
93 | asm (".cfi_startproc"); |
93 | asm (".cfi_undefined rip"); |
94 | asm (".cfi_undefined rip"); |
94 | #endif |
95 | #endif |
95 | |
96 | |
96 | func ((void *)arg); |
97 | func ((void *)arg); |
|
|
98 | |
|
|
99 | #if __GCC_HAVE_DWARF2_CFI_ASM && __amd64 |
|
|
100 | asm (".cfi_endproc"); |
|
|
101 | #endif |
97 | |
102 | |
98 | /* the new coro returned. bad. just abort() for now */ |
103 | /* the new coro returned. bad. just abort() for now */ |
99 | abort (); |
104 | abort (); |
100 | } |
105 | } |
101 | |
106 | |