diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html index 3c3bc1d60b1..f7ba1306d44 100644 --- a/docs/BytecodeFormat.html +++ b/docs/BytecodeFormat.html @@ -969,22 +969,29 @@ definitions occurring in the module. occurring in the module.
The table below provides the format of the constant initializers for -the global variable field, if it has one (indicated by the "Has initializer" -field).
+If the SectionID bit is set above, the following field is included:
Description | |||
---|---|---|---|
(zlist(uint32_vbr))? + | uint32_vbr | -An optional zero-terminated list of value slot -numbers of the global variable's constant initializer. | +An optional section ID number, specifying the string + to use for the section of the global. This an index (+1) of an entry + into the SectionID llist in the Module Global + Info block. If this value is 0 or not present, the global has an + empty section string. | +
If the "Has initializer" field is set, the following field is included:
+ +Type | +Description | +
---|---|
uint32_vbr + | +An optional value slot number for the global + variable's constant initializer. |
If the SectionID bit is set above, the following field is included:
+ +Type | +Description | +
---|---|
uint32_vbr + | +An optional section ID number, specifying the string + to use for the section of the function. This an index (+1) of an entry + into the SectionID llist in the Module Global + Info block. If this value is 0 or not present, the function has an + empty section string. | +