Author: Felipe de Azevedo Piovezan Date: 2023-11-27T15:27:58-08:00 New Revision: eae1811e4f0431ea6336e68a38318a55f7529ef6
URL: https://github.com/llvm/llvm-project/commit/eae1811e4f0431ea6336e68a38318a55f7529ef6 DIFF: https://github.com/llvm/llvm-project/commit/eae1811e4f0431ea6336e68a38318a55f7529ef6.diff LOG: [docs] Fix issues in SourceLevelDebugging (#73528) An SSA register `value` was being defined twice. An "external" link was using the "internal" link syntax. Added: Modified: llvm/docs/SourceLevelDebugging.rst Removed: ################################################################################ diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index da3466a7f51c5fa..e1df7c355ee0921 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -641,7 +641,7 @@ And has the following operands: operand of the ``DBG_VALUE`` instruction above. These variable location operands are inserted into the final DWARF Expression in positions indicated by the DW_OP_LLVM_arg operator in the `DIExpression - <LangRef.html#diexpression>`. + <LangRef.html#diexpression>`_. The position at which the DBG_VALUEs are inserted should correspond to the positions of their matching ``llvm.dbg.value`` intrinsics in the IR block. As @@ -841,7 +841,7 @@ presents several diff iculties: falsebr: call void @llvm.dbg.value(metadata i32 %input, metadata !30, metadata !DIExpression()), !dbg !24 call void @llvm.dbg.value(metadata i32 2, metadata !23, metadata !DIExpression()), !dbg !24 - %value = add i32 %input, 2 + %value2 = add i32 %input, 2 br label %bb1 exit: _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits