Skip to content

Commit 598aba3

Browse files
committed
Minor signature doc updates
1 parent 117e0e9 commit 598aba3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/docs/SourceLevelDebugging.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ is:
290290

291291
.. code-block:: llvm
292292
293-
#dbg_<kind>([<arg>, ]*, <DILocation>)
293+
#dbg_<kind>([<arg>, ]* <DILocation>)
294294
; Using the intrinsic model, the above is equivalent to:
295295
call void llvm.dbg.<kind>([metadata <arg>, ]*), !dbg <DILocation>
296296
@@ -311,7 +311,7 @@ For each kind of intrinsic function, there is an equivalent debug record.
311311

312312
.. code-block:: llvm
313313
314-
#dbg_declare(Value, DILocalVariable, DIExpression, DILocation)
314+
#dbg_declare([Value|MDNode], DILocalVariable, DIExpression, DILocation)
315315
316316
Equivalent to the ``llvm.dbg.declare`` intrinsic.
317317

@@ -320,7 +320,7 @@ Equivalent to the ``llvm.dbg.declare`` intrinsic.
320320

321321
.. code-block:: llvm
322322
323-
#dbg_value([Value|DIArgList], DILocalVariable, DIExpression, DILocation)
323+
#dbg_value([Value|DIArgList|MDNode], DILocalVariable, DIExpression, DILocation)
324324
325325
Equivalent to the ``llvm.dbg.value`` intrinsic.
326326

@@ -329,8 +329,8 @@ Equivalent to the ``llvm.dbg.value`` intrinsic.
329329

330330
.. code-block:: llvm
331331
332-
#dbg_assign([Value|DIArgList], DILocalVariable, DIExpression, DIAssignID,
333-
Value, DIExpression, DILocation)
332+
#dbg_assign([Value|DIArgList|MDNode], DILocalVariable, DIExpression,
333+
DIAssignID, [Value|MDNode], DIExpression, DILocation)
334334
335335
Equivalent to the ``llvm.dbg.assign`` intrinsic.
336336

0 commit comments

Comments
 (0)