@@ -91,10 +91,6 @@ JSON file provides the following information to the distributor:
9191 contribute. Distributors can use this to label build jobs for informational
9292 purposes.
9393
94- - **Linker's version string **.
95- - Distributors can use this to determine if the invoked remote optimisation
96- tool is compatible.
97-
9894- The list of **imports ** required for each job.
9995 - The per-job list of bitcode files from which importing will occur. This is
10096 the same information that is emitted into import files for ThinLTO.
@@ -175,8 +171,8 @@ Key Features of the Schema
175171- **Command-Line Template **: Command-line options are stored in a common
176172 template to avoid duplication for each job. The template consists of an array
177173 of strings and arrays. The arrays are placeholders which reference per-job
178- paths. This allows the remote optimisation tool to be changed without updating
179- the distributors.
174+ paths. This allows the remote compiler and its arguments to be changed without
175+ updating the distributors.
180176
181177Command-Line Expansion Example
182178~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -196,14 +192,14 @@ The example above generates the following backend compilation command for
196192 -o dtlto.1.51232.native.o -c -x ir dtlto.o \
197193 -fthinlto-index=dtlto.1.51232.native.o.thinlto.bc --target=x86_64-sie-ps5
198194
199- This expansion scheme allows the remote optimization tool to be changed without
200- updating the distributors. For example, if the "args" field in the above example
201- was replaced with:
195+ This expansion scheme allows the remote compiler to be changed without updating
196+ the distributors. For example, if the "args" field in the above example was
197+ replaced with:
202198
203199.. code-block :: json
204200
205201 "args" : [
206- " custom-codgen-tool " ,
202+ " custom-compiler " ,
207203 " -opt-level=2" ,
208204 " -profile-instrument-use-path=my.profdata" ,
209205 " -output" , [" primary_output" , 0 ],
@@ -216,7 +212,7 @@ Then distributors can expand the command line without needing to be updated:
216212
217213.. code-block :: console
218214
219- custom-codgen-tool -opt-level=2 -profile-instrument-use-path=my.profdata \
215+ custom-compiler -opt-level=2 -profile-instrument-use-path=my.profdata \
220216 -output dtlto.1.51232.native.o -input dtlto.o \
221217 -thinlto-index dtlto.1.51232.native.o.thinlto.bc -triple x86_64-sie-ps5
222218
0 commit comments