delve/_fixtures/panicline.go
Alessandro Arzilli 4ed69d0280
proc: fix stacktrace frame after runtime.sigpanic (#3638)
The first frame after sigpanic didn't execute a call so we shouldn't
decrement the PC address to look up its location.

Fixes #3634
2024-01-17 16:31:04 -08:00

9 lines
102 B
Go

package main
import "os"
func main() {
fi, _ := os.Lstat("/this/path/does/not/exist")
fi.Size()
}