diff options
| author | Ian Lance Taylor <iant@golang.org> | 2025-12-11 20:50:05 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-26 17:37:59 -0700 |
| commit | 87fae3622dacca9cfa5026c712df40af694a4e6a (patch) | |
| tree | f7bc61ad5a773db548366cb840e8483766b11b35 /src/cmd/internal | |
| parent | 2dbd51e3b4bf29e6204caf0465258ced601494a2 (diff) | |
| download | go-87fae3622dacca9cfa5026c712df40af694a4e6a.tar.xz | |
reflect, runtime: replace reflect.typelinks to return types, not offsets
Change reflect to call a new function to get the compiled type descriptors,
returning the type pointers directly rather than the type offsets.
We have to keep the existing reflect.typelinks for third party
packages that break the rules and call it directly using linkname.
Change-Id: I476efb6bd7836a7a5f396c97bbe4b2c1a2428990
Reviewed-on: https://go-review.googlesource.com/c/go/+/729502
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Antonio Camacho <antoniocho444@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/cmd/internal')
0 files changed, 0 insertions, 0 deletions
