Skip to content

Commit 85bff00

Browse files
committed
Fix: Title underline too short in D129372
This patch fixes an error in commit e10e936 in which the added documentation contained an incorrectly-styled underline for the title "Debug Instruction Reference Operands".
1 parent e10e936 commit 85bff00

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

llvm/docs/MIRLangRef.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ is preferred.
460460
Machine Operands
461461
----------------
462462

463-
There are eighteen different kinds of machine operands, and all of them can be
463+
There are eighteen different kinds of machine operands, and all of them can be
464464
serialized.
465465

466466
Immediate Operands
@@ -736,19 +736,19 @@ The syntax is:
736736
737737
EH_LABEL <mcsymbol Ltmp1>
738738
739-
Debug Instruction Reference Operands
740-
^^^^^^^^^^^^^^^^^
741-
742-
A debug instruction reference operand is a pair of indices, referring to an
743-
instruction and an operand within that instruction respectively; see
744-
:ref:`Instruction referencing locations <instruction-referencing-locations>`.
745-
746-
The example below uses a reference to Instruction 1, Operand 0:
747-
748-
.. code-block:: text
749-
750-
DBG_INSTR_REF !123, !DIExpression(), dbg-instr-ref(1, 0), debug-location !456
751-
739+
Debug Instruction Reference Operands
740+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
741+
742+
A debug instruction reference operand is a pair of indices, referring to an
743+
instruction and an operand within that instruction respectively; see
744+
:ref:`Instruction referencing locations <instruction-referencing-locations>`.
745+
746+
The example below uses a reference to Instruction 1, Operand 0:
747+
748+
.. code-block:: text
749+
750+
DBG_INSTR_REF !123, !DIExpression(), dbg-instr-ref(1, 0), debug-location !456
751+
752752
CFIIndex Operands
753753
^^^^^^^^^^^^^^^^^
754754

@@ -899,8 +899,8 @@ variable. The second operand (``IsIndirect``) is deprecated and to be deleted.
899899
All additional qualifiers for the variable location should be made through the
900900
expression metadata.
901901

902-
.. _instruction-referencing-locations:
903-
902+
.. _instruction-referencing-locations:
903+
904904
Instruction referencing locations
905905
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
906906

@@ -913,16 +913,16 @@ instruction number and operand number. Consider the example below:
913913
.. code-block:: text
914914
915915
$rbp = MOV64ri 0, debug-instr-number 1, debug-location !12
916-
DBG_INSTR_REF !123, !DIExpression(), dbg-instr-ref(1, 0), debug-location !456
916+
DBG_INSTR_REF !123, !DIExpression(), dbg-instr-ref(1, 0), debug-location !456
917917
918918
Instruction numbers are directly attached to machine instructions with an
919919
optional ``debug-instr-number`` attachment, before the optional
920920
``debug-location`` attachment. The value defined in ``$rbp`` in the code
921921
above would be identified by the pair ``<1, 0>``.
922922

923-
The 3rd operand of the ``DBG_INSTR_REF`` above records the instruction
923+
The 3rd operand of the ``DBG_INSTR_REF`` above records the instruction
924924
and operand number ``<1, 0>``, identifying the value defined by the ``MOV64ri``.
925-
The first two operands to ``DBG_INSTR_REF`` are identical to ``DBG_VALUE_LIST``,
925+
The first two operands to ``DBG_INSTR_REF`` are identical to ``DBG_VALUE_LIST``,
926926
and the ``DBG_INSTR_REF`` s position records where the variable takes on the
927927
designated value in the same way.
928928

0 commit comments

Comments
 (0)