aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2023-08-18 11:10:23 -0400
committerCherry Mui <cherryyz@google.com>2023-08-18 15:53:47 +0000
commitb65e34f03814889f0edd3ddd9778864762511443 (patch)
tree3d7ad001b1fb162effb8a716931d0909750233e8 /src/encoding/json/encode.go
parentd63c88d6959f2081bcaf4026306ca8878e8f335a (diff)
downloadgo-b65e34f03814889f0edd3ddd9778864762511443.tar.xz
cmd/link: don't mangle string symbol names
String symbol names could contain weird characters as we put the string literal into the symbol name. So it may appear to need mangling. However, as string symbols are grouped into a single "go:string.*" symbol, the individual symbol names actually don't matter. So don't mangle them. Also make the mangling code more defensive in case of weird symbol names. Fixes #62098. Change-Id: I533012567a9fffab69debda934f426421c7abb04 Reviewed-on: https://go-review.googlesource.com/c/go/+/520856 Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions