From 4c7c0c68f1944d3aac14689c257c4eceba161526 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115326 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/SourceLevelDebugging.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/SourceLevelDebugging.html b/docs/SourceLevelDebugging.html index 19e086867f4..4e65bf4a476 100644 --- a/docs/SourceLevelDebugging.html +++ b/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.