$ go version
go version go1.17 linux/amd64
it also reproduces on 1.17 windows/amd64 and 1.16.
Reproduction steps:
- Compile the tests of package
github.com/dolthub/dolt/go/libraries/doltcore/sqle with -gcflags='all=-N -l' (commit d2c3c987593fe82e0571ffd3fda09afd340b4634 will do this)
- See the pcln table generated for
github.com/dolthub/dolt/go/libraries/doltcore/sqle.NewTestEngine
- Lines 120 and 121 have instructions generated but none of them have the stmt flag set
Originally reported as go-delve/delve#2664
cc @dr2chase
it also reproduces on 1.17 windows/amd64 and 1.16.
Reproduction steps:
github.com/dolthub/dolt/go/libraries/doltcore/sqlewith-gcflags='all=-N -l'(commit d2c3c987593fe82e0571ffd3fda09afd340b4634 will do this)github.com/dolthub/dolt/go/libraries/doltcore/sqle.NewTestEngineOriginally reported as go-delve/delve#2664
cc @dr2chase