Skip to content

Commit 142bd00

Browse files
committed
Add more details on the outputs JSON array to the docs.
1 parent 6f353d9 commit 142bd00

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

llvm/docs/DTLTO.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ Reserved Entries:
138138
- The first entry in each job's ``outputs`` array is the primary output object
139139
file.
140140

141+
For the ``outputs`` array, only the first entry is reserved for the primary
142+
output file; there is no guaranteed order for the remaining entries. The primary
143+
output file is specified in a reserved entry because some distribution systems
144+
rely on this path - for example, to provide a meaningful user label for
145+
compilation jobs. Initially, the DTLTO implementation will not produce more than
146+
one output file. However, in the future, if LTO options are added that imply
147+
additional output files, those files will also be included in this array.
148+
141149
Command-line arguments and input/output files are stored separately to allow
142150
the remote compiler to be changed without updating the distributors, as the
143151
distributors do not need to understand the details of the compiler command

0 commit comments

Comments
 (0)