Re: [go-nuts] How to understand assembly code related to defer

2023-09-27 Thread Ian Lance Taylor
On Tue, Sep 26, 2023 at 11:06 PM j2gg0s wrote: > > Related go code: > 22 //go:noinline > 23 func add(a, b int) int { > 24 defer func() { > 25 fmt.Println(3) > 26 }() > 27 return a + b > 28 } > > Build by: GOOS=linux GOARCH=

Re: [go-nuts] weblist in go tool pprof does not work for me

2023-09-27 Thread Jochen Voss
On 26 Sep 2023, at 6:20, Sergey Gorlov wrote: > Did you find a solution to this problem? I have the same problem with > weblist. No, I didn't. I think it's just broken. If I find time, I'll submit a bug report (unless somebody beats me to it). All the best, Jochen -- http://seehuhn.de/ -- Yo