llgo/ssa: defer support panic; IndirectJump/Switch

This commit is contained in:
xushiwei
2024-06-09 09:08:22 +08:00
parent 8b7d8b7786
commit 60dd33b48f
4 changed files with 131 additions and 34 deletions

View File

@@ -27,6 +27,7 @@ import (
// Defer presents defer statements in a function.
type Defer struct {
Addr unsafe.Pointer
Bits uintptr
Link *Defer
Rund int // index of RunDefers