From 6df452cfb14dfc8ea4cc179141504afbe8341ed4 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 1 Oct 2010 19:22:16 +0000 Subject: [PATCH] Fix dbg_declare signature in document. llvm-svn: 115326 --- llvm/docs/SourceLevelDebugging.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/SourceLevelDebugging.html b/llvm/docs/SourceLevelDebugging.html index 19e086867f4f..4e65bf4a476e 100644 --- a/llvm/docs/SourceLevelDebugging.html +++ b/llvm/docs/SourceLevelDebugging.html @@ -789,11 +789,11 @@ DW_TAG_return_variable = 258
-  void %llvm.dbg.declare({}*, metadata)
+  void %llvm.dbg.declare(metadata, metadata)
 

This intrinsic provides information about a local element (ex. variable.) The - first argument is the alloca for the variable, cast to a {}*. The + first argument is metadata holding alloca for the variable.. The second argument is the %llvm.dbg.variable containing the description of the variable.