diff options
| author | Mark Freeman <mark@golang.org> | 2025-05-19 18:00:31 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-05-21 08:25:32 -0700 |
| commit | bfb8f1327466ac9075a5c2f4fba72ebeebe8023b (patch) | |
| tree | 0bb28261d944ab77a446cadd99b0df84c6df76a8 /src/syscall/exec_linux.go | |
| parent | 07b94b2db23eda9ff4629cd8c2a0a32decdae08b (diff) | |
| download | go-bfb8f1327466ac9075a5c2f4fba72ebeebe8023b.tar.xz | |
internal/pkgbits: indent productions and hoist some types up
The types being hoisted are those which cannot be referenced; that is,
where Ref[T] is illegal. These are most clearly owned by pkgbits. The
types which follow are those which can be referenced.
Referenceable types are more hazy due to the reference mechanism of UIR
- sections. These are a detail of the UIR file format and are surfaced
directly to importers.
I suspect that pkgbits would benefit from a reference mechanism not
dependent on sections. This would permit us to push down many types
from the noder into pkgbits, reducing the interface surface without
giving up deduplication.
Change-Id: Ifaf5cd9de20c767ad0941413385b308d628aac6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/674635
Auto-Submit: Mark Freeman <mark@golang.org>
TryBot-Bypass: Mark Freeman <mark@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
