add types.Map debug info, more debug symbol tests

This commit is contained in:
Li Jie
2024-09-13 21:07:49 +08:00
parent db128dbc40
commit c06c96bc1f
2 changed files with 654 additions and 25 deletions

View File

@@ -180,6 +180,8 @@ func (b diBuilder) createType(ty Type, pos token.Position) DIType {
return b.createBasicType(ty)
case *types.Chan:
return b.createBasicType(ty)
case *types.Map:
return b.createBasicType(ty)
default:
panic(fmt.Errorf("can't create debug info of type: %v, %T", ty.RawType(), ty.RawType()))
}