cmd/dlv: use goversion.ParseProducer for DW_AT_producer (#4307)

This commit is contained in:
David Butler 2026-04-23 13:48:25 -05:00 committed by GitHub
parent c4280281d2
commit c9ed7c0b23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -699,7 +699,7 @@ func (t *Term) goVersion() *goversion.GoVersion {
return t.goVersionCache
}
vers := t.client.GetVersion()
v, _ := goversion.Parse(vers.TargetGoVersion)
v := goversion.ParseProducer(vers.TargetGoVersion)
t.goVersionCache = &v
return t.goVersionCache
}