Skip to content

Commit 875646b

Browse files
[llvm] Proofread Extensions.rst (llvm#166716)
1 parent cdfd290 commit 875646b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/docs/Extensions.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,13 @@ This would be equivalent to the following raw assembly:
274274
275275
The following directives are specified:
276276

277-
- lib
277+
- ``lib``
278278

279279
The parameter identifies a library to be linked against. The library will
280280
be looked up in the default and any specified library search paths
281281
(specified to this point).
282282

283-
- libpath
283+
- ``libpath``
284284

285285
The parameter identifies an additional library search path to be considered
286286
when looking up libraries after the inclusion of this option.
@@ -327,13 +327,13 @@ The contents of the section shall be a sequence of ``Elf_CGProfile`` entries.
327327
Elf_Xword cgp_weight;
328328
} Elf_CGProfile;
329329
330-
cgp_from
330+
``cgp_from``
331331
The symbol index of the source of the edge.
332332

333-
cgp_to
333+
``cgp_to``
334334
The symbol index of the destination of the edge.
335335

336-
cgp_weight
336+
``cgp_weight``
337337
The weight of the edge.
338338

339339
This is represented in assembly as:
@@ -352,7 +352,7 @@ table.
352352
``SHT_LLVM_ADDRSIG`` Section (address-significance table)
353353
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
354354

355-
This section is used to mark symbols as address-significant, i.e. the address
355+
This section is used to mark symbols as address-significant, i.e., the address
356356
of the symbol is used in a comparison or leaks outside the translation unit. It
357357
has the same meaning as the absence of the LLVM attributes ``unnamed_addr``
358358
and ``local_unnamed_addr``.
@@ -519,11 +519,11 @@ those bits are:
519519
#. Basic Block Frequencies - Encoded as raw block frequency value taken from
520520
MBFI analysis. This value is an integer that encodes the relative frequency
521521
compared to the entry block. More information can be found in
522-
'llvm/Support/BlockFrequency.h'.
522+
``llvm/Support/BlockFrequency.h``.
523523

524524
#. Branch Probabilities - Encoded as raw numerator for branch probability
525525
taken from MBPI analysis. This value is the numerator for a fixed point ratio
526-
defined in 'llvm/Support/BranchProbability.h'. It indicates the probability
526+
defined in ``llvm/Support/BranchProbability.h``. It indicates the probability
527527
that the block is followed by a given successor block during execution.
528528

529529
This extra data requires version 2 or above. This is necessary since successors
@@ -726,7 +726,7 @@ Syntax:
726726
Syntax:
727727
``.cv_fpo_data`` *procsym*
728728

729-
Target Specific Behaviour
729+
Target-Specific Behaviour
730730
=========================
731731

732732
X86

0 commit comments

Comments
 (0)