aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial/MyFirstLanguageFrontend
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-06-11 14:16:32 +0100
committerGitHub <noreply@github.com>2024-06-11 14:16:32 +0100
commit400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42 (patch)
treef4abadda88d196b29d98cd8d8abb694e2ea72d14 /llvm/docs/tutorial/MyFirstLanguageFrontend
parente805b77107c8a26ad129fb2a46cdec01c90628be (diff)
downloadllvm-400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42.zip
llvm-400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42.tar.gz
llvm-400d4fd7b6dea9c7cdd255bb804fcd0ee77f6d42.tar.bz2
[RemoveDIs] Update all docs to use debug records (#91768)
As we approach the state where support for debug intrinsics is dropping and we print and use debug records by default, the documentation should be updated to refer to debug records as the primary debug info representation, with debug intrinsics being relegated to an optional alternative. This patch performs a few updates: - Replace references to intrinsics with references to records across all the documentation. - Replace intrinsics with records in code examples. - Move debug records prior to debug intrinsics in the SourceLevelDebugging document, and change text to refer to them as the primary representation. - Add release notes describing the change.
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
-rw-r--r--llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
index d9f11dd..c75d881 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl09.rst
@@ -416,7 +416,7 @@ argument allocas in ``FunctionAST::codegen``.
Here we're first creating the variable, giving it the scope (``SP``),
the name, source location, type, and since it's an argument, the argument
-index. Next, we create an ``lvm.dbg.declare`` call to indicate at the IR
+index. Next, we create a ``#dbg_declare`` record to indicate at the IR
level that we've got a variable in an alloca (and it gives a starting
location for the variable), and setting a source location for the
beginning of the scope on the declare.