libgo/runtime/stack.c
void doscanstack(G *gp, void* gcw) {
	// Save registers on the stack, so that if we are scanning our
	// own stack we will see them.
	__builtin_unwind_init();

	doscanstack1(gp, gcw);
}
// Scan gp's stack, passing stack chunks to scanstackblock.
Scan gp's stack, passing stack chunks to scanstackblock.
Scan gp ' s stack passing stack chunks to scanstackblock .
void doscanstack(G *gp, void* gcw) {
	__builtin_unwind_init();
	doscanstack1(gp, gcw);
}
void doscanstack ( G * gp , void * gcw ) { __builtin_unwind_init ( ) ; doscanstack1 ( gp , gcw ) ; }
Scan gp's stack, passing stack chunks to scanstackblock.
Scan gp ' s stack passing stack chunks to scanstackblock .
// Save registers on the stack, so that if we are scanning our // own stack we will see them.