@@ -91,10 +91,6 @@ JSON file provides the following information to the distributor:
91
91
contribute. Distributors can use this to label build jobs for informational
92
92
purposes.
93
93
94
- - **Linker's version string **.
95
- - Distributors can use this to determine if the invoked remote optimisation
96
- tool is compatible.
97
-
98
94
- The list of **imports ** required for each job.
99
95
- The per-job list of bitcode files from which importing will occur. This is
100
96
the same information that is emitted into import files for ThinLTO.
@@ -175,8 +171,8 @@ Key Features of the Schema
175
171
- **Command-Line Template **: Command-line options are stored in a common
176
172
template to avoid duplication for each job. The template consists of an array
177
173
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.
180
176
181
177
Command-Line Expansion Example
182
178
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -196,14 +192,14 @@ The example above generates the following backend compilation command for
196
192
-o dtlto.1.51232.native.o -c -x ir dtlto.o \
197
193
-fthinlto-index=dtlto.1.51232.native.o.thinlto.bc --target=x86_64-sie-ps5
198
194
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:
202
198
203
199
.. code-block :: json
204
200
205
201
"args" : [
206
- " custom-codgen-tool " ,
202
+ " custom-compiler " ,
207
203
" -opt-level=2" ,
208
204
" -profile-instrument-use-path=my.profdata" ,
209
205
" -output" , [" primary_output" , 0 ],
@@ -216,7 +212,7 @@ Then distributors can expand the command line without needing to be updated:
216
212
217
213
.. code-block :: console
218
214
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 \
220
216
-output dtlto.1.51232.native.o -input dtlto.o \
221
217
-thinlto-index dtlto.1.51232.native.o.thinlto.bc -triple x86_64-sie-ps5
222
218
0 commit comments