Re: [go-nuts] build unoptimized std lib for debugging

2022-04-04 Thread Ian Lance Taylor
On Mon, Apr 4, 2022 at 5:16 PM arthurwil...@gmail.com wrote: > > > > On Monday, April 4, 2022 at 7:00:49 PM UTC-5 arthurwil...@gmail.com wrote: >> >> On Monday, April 4, 2022 at 6:14:30 PM UTC-5 Ian Lance Taylor wrote: >>> >>> On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com >>> wrote: >>> >

Re: [go-nuts] build unoptimized std lib for debugging

2022-04-04 Thread arthurwil...@gmail.com
On Monday, April 4, 2022 at 7:00:49 PM UTC-5 arthurwil...@gmail.com wrote: > On Monday, April 4, 2022 at 6:14:30 PM UTC-5 Ian Lance Taylor wrote: > >> On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com >> wrote: >> > >> > >> > >> > On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance

Re: [go-nuts] build unoptimized std lib for debugging

2022-04-04 Thread arthurwil...@gmail.com
On Monday, April 4, 2022 at 6:14:30 PM UTC-5 Ian Lance Taylor wrote: > On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com > wrote: > > > > > > > > On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance Taylor wrote: > >> > >> On Sun, Apr 3, 2022 at 6:21 PM arthurwil...@gmail.com > >

Re: [go-nuts] build unoptimized std lib for debugging

2022-04-04 Thread Ian Lance Taylor
On Mon, Apr 4, 2022 at 3:49 PM arthurwil...@gmail.com wrote: > > > > On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance Taylor wrote: >> >> On Sun, Apr 3, 2022 at 6:21 PM arthurwil...@gmail.com >> wrote: >> > >> > I'm trying to build an unoptimized version of the standard library for >> > d

Re: [go-nuts] build unoptimized std lib for debugging

2022-04-04 Thread arthurwil...@gmail.com
On Sunday, April 3, 2022 at 10:35:04 PM UTC-5 Ian Lance Taylor wrote: > On Sun, Apr 3, 2022 at 6:21 PM arthurwil...@gmail.com > wrote: > > > > I'm trying to build an unoptimized version of the standard library for > debugging. > > You can just use > > go build -gcflags=all="-N -l" > > Th

Re: [go-nuts] build unoptimized std lib for debugging

2022-04-03 Thread Ian Lance Taylor
On Sun, Apr 3, 2022 at 6:21 PM arthurwil...@gmail.com wrote: > > I'm trying to build an unoptimized version of the standard library for > debugging. You can just use go build -gcflags=all="-N -l" Ian -- You received this message because you are subscribed to the Google Groups "golang-nu

[go-nuts] build unoptimized std lib for debugging

2022-04-03 Thread arthurwil...@gmail.com
I'm trying to build an unoptimized version of the standard library for debugging. I tried using GO_GCFLAGS='-N -l' but dlv is telling me the code is optimized. This is what I did (Notice the "Warning debugging optimized function" coming from delve) /Volumes/git/goroot/src (master)$ git log --o