From 02216ff01e03b0dc96c900f250588fc0bd059480 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 1 Dec 2009 00:59:58 +0000
Subject: [PATCH] Remove some validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90184 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/SourceLevelDebugging.html | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/SourceLevelDebugging.html b/docs/SourceLevelDebugging.html
index 93d65ccaae6..05a99e3d8e4 100644
--- a/docs/SourceLevelDebugging.html
+++ b/docs/SourceLevelDebugging.html
@@ -813,23 +813,23 @@ DW_TAG_return_variable = 258
define void @foo() nounwind ssp {
entry:
- %X = alloca i32, align 4 ; [#uses=4]
- %Y = alloca i32, align 4 ; [#uses=4]
- %Z = alloca i32, align 4 ; [#uses=3]
- %0 = bitcast i32* %X to { }* ; <{ }*> [#uses=1]
+ %X = alloca i32, align 4 ; <i32*> [#uses=4]
+ %Y = alloca i32, align 4 ; <i32*> [#uses=4]
+ %Z = alloca i32, align 4 ; <i32*> [#uses=3]
+ %0 = bitcast i32* %X to { }* ; <{ }*> [#uses=1]
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
store i32 21, i32* %X, !dbg !8
- %1 = bitcast i32* %Y to { }* ; <{ }*> [#uses=1]
+ %1 = bitcast i32* %Y to { }* ; <{ }*> [#uses=1]
call void @llvm.dbg.declare({ }* %1, metadata !9), !dbg !10
store i32 22, i32* %Y, !dbg !11
- %2 = bitcast i32* %Z to { }* ; <{ }*> [#uses=1]
+ %2 = bitcast i32* %Z to { }* ; <{ }*> [#uses=1]
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14
store i32 23, i32* %Z, !dbg !15
- %tmp = load i32* %X, !dbg !16 ; [#uses=1]
- %tmp1 = load i32* %Y, !dbg !16 ; [#uses=1]
- %add = add nsw i32 %tmp, %tmp1, !dbg !16 ; [#uses=1]
+ %tmp = load i32* %X, !dbg !16 ; <i32> [#uses=1]
+ %tmp1 = load i32* %Y, !dbg !16 ; <i32> [#uses=1]
+ %add = add nsw i32 %tmp, %tmp1, !dbg !16 ; <i32> [#uses=1]
store i32 %add, i32* %Z, !dbg !16
- %tmp2 = load i32* %Y, !dbg !17 ; [#uses=1]
+ %tmp2 = load i32* %Y, !dbg !17 ; <i32> [#uses=1]
store i32 %tmp2, i32* %X, !dbg !17
ret void, !dbg !18
}
@@ -875,7 +875,7 @@ declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone
function.
-
+
call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
@@ -910,7 +910,7 @@ call void @llvm.dbg.declare({ }* %0, metadata !0), !dbg !7
Now lets take another example.
-
+
call void @llvm.dbg.declare({ }* %2, metadata !12), !dbg !14