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. - llist(string)
+ llist(string)
- A length list + A length list of strings that specify the names of the libraries that this module depends upon.
- string
+ string
- The target + The target triple for the module (blank means no target triple specified, i.e. a platform independent module).
+ + llist(string)
+ + A length list +of strings that defines a table of section strings for globals. A global's +SectionID is an index into this table.
+ + @@ -1056,15 +1063,17 @@ and can includes more information:

The log-base-2 of the alignment for the global. - bit(9-31) + bit(9) + If this bit is set, a SectionID follows this vbr. + + + bit(10-31) Currently unassigned. -

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:

@@ -1073,10 +1082,30 @@ field).

- - + + + +
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:

+ + + + + + + + + +
TypeDescription
uint32_vbr + An optional value slot number for the global + variable's constant initializer.
@@ -1141,12 +1170,36 @@ follows with the following fields:

The top nibble of the calling convention. - bit(10-31) + bit(10) + If this bit is set, a SectionID follows this vbr. + + + bit(11-31) Currently unassigned. +

If the SectionID bit is set above, the following field is included:

+ + + + + + + + + + + + +
TypeDescription
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.
+