[llvm] [Docs] Fix debug info documentation typos (PR #214819)
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 11:52:51 PDT 2026
https://github.com/echristo updated https://github.com/llvm/llvm-project/pull/214819
>From 72272e72f89c35ae0566ee4cc04ab9258e5ab419 Mon Sep 17 00:00:00 2001
From: Eric Christopher <echristopher at nvidia.com>
Date: Fri, 7 Aug 2026 10:46:47 -0700
Subject: [PATCH] [Docs] Fix debug info documentation typos
---
llvm/docs/SourceLevelDebugging.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/llvm/docs/SourceLevelDebugging.md b/llvm/docs/SourceLevelDebugging.md
index 5d3c6e0c723e4..92921f37981d1 100644
--- a/llvm/docs/SourceLevelDebugging.md
+++ b/llvm/docs/SourceLevelDebugging.md
@@ -285,8 +285,8 @@ first argument is used to compute the value of the variable throughout the
entire function. The second argument is a
{ref}`local variable <dilocalvariable>` containing a description of the
variable. The third argument is a {ref}`complex expression <diexpression>`. The
-foruth argument is a {ref}`source location <dilocation>`. A
-`#dbg_declare_value` record describes describes the *value* of a source
+fourth argument is a {ref}`source location <dilocation>`. A
+`#dbg_declare_value` record describes the *value* of a source
variable directly, not its address. The difference between a `#dbg_value` and
a `#dbg_declare_value` is that, just like a `#dbg_declare`, a frontend
should generate exactly one `#dbg_declare_value` record. The idea is to have
More information about the llvm-commits
mailing list