@@ -346,36 +346,36 @@ output format of the diagnostics that it generates.
346
346
``-fsave-optimization-record=bitstream ``: A binary format based on LLVM
347
347
Bitstream.
348
348
349
- The output file is controlled by :ref: `-foptimization-record-file <opt_foptimization-record-file >`.
349
+ The output file is controlled by :ref: `-foptimization-record-file <opt_foptimization-record-file >`.
350
350
351
- In the absence of an explicit output file, the file is chosen using the
352
- following scheme:
351
+ In the absence of an explicit output file, the file is chosen using the
352
+ following scheme:
353
353
354
- ``<base>.opt.<format> ``
354
+ ``<base>.opt.<format> ``
355
355
356
- where ``<base> `` is based on the output file of the compilation (whether
357
- it's explicitly specified through `-o ` or not) when used with `-c ` or `-S `.
358
- In other cases, it's based on the input file's stem. For example:
356
+ where ``<base> `` is based on the output file of the compilation (whether
357
+ it's explicitly specified through `-o ` or not) when used with `-c ` or `-S `.
358
+ In other cases, it's based on the input file's stem. For example:
359
359
360
- * ``clang -fsave-optimization-record -c in.c -o out.o `` will generate
361
- ``out.opt.yaml ``
360
+ * ``clang -fsave-optimization-record -c in.c -o out.o `` will generate
361
+ ``out.opt.yaml ``
362
362
363
- * ``clang -fsave-optimization-record in.c -o out `` will generate
364
- ``in.opt.yaml ``
363
+ * ``clang -fsave-optimization-record in.c -o out `` will generate
364
+ ``in.opt.yaml ``
365
365
366
- Compiling for multiple architectures will use the following scheme:
366
+ Compiling for multiple architectures will use the following scheme:
367
367
368
- ``<base>-<arch>.opt.<format> ``
368
+ ``<base>-<arch>.opt.<format> ``
369
369
370
- Note that this is only allowed on Darwin platforms and is incompatible with
371
- passing multiple ``-arch <arch> `` options.
370
+ Note that this is only allowed on Darwin platforms and is incompatible with
371
+ passing multiple ``-arch <arch> `` options.
372
372
373
- When targeting (Thin)LTO, the base is derived from the output filename, and
374
- the extension is not dropped.
373
+ When targeting (Thin)LTO, the base is derived from the output filename, and
374
+ the extension is not dropped.
375
375
376
- When targeting ThinLTO, the following scheme is used:
376
+ When targeting ThinLTO, the following scheme is used:
377
377
378
- ``<base>.opt.<format>.thin.<num>.<format> ``
378
+ ``<base>.opt.<format>.thin.<num>.<format> ``
379
379
380
380
.. _opt_foptimization-record-file :
381
381
0 commit comments