aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/compile/internal/noder/doc.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/noder/doc.go b/src/cmd/compile/internal/noder/doc.go
index 5509b0001a..24590107c2 100644
--- a/src/cmd/compile/internal/noder/doc.go
+++ b/src/cmd/compile/internal/noder/doc.go
@@ -20,7 +20,7 @@ The payload is a series of sections. Each section has a kind which determines
its index in the series.
SectionKind = Uint64 .
-Payload = SectionString // TODO(markfreeman) Define.
+Payload = SectionString
SectionMeta
SectionPosBase // TODO(markfreeman) Define.
SectionPkg // TODO(markfreeman) Define.
@@ -40,6 +40,12 @@ accessed using an index relative to the start of the section.
// TODO(markfreeman): Rename to SectionIndex.
RelIndex = Uint64 .
+## String Section
+String values are stored as elements in the string section. Elements outside
+the string section access string values by reference.
+
+SectionString = { String } .
+
## Meta Section
The meta section provides fundamental information for a package. It contains
exactly two elements — a public root and a private root.