Use DebugInfo interface to lower dbg_* intrinsics.
authorDevang Patel <dpatel@apple.com>
Tue, 13 Jan 2009 00:32:17 +0000 (00:32 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 13 Jan 2009 00:32:17 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62126 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2006-07-19-ATTAsm.ll
test/DebugInfo/dataOnly.ll
test/DebugInfo/deaddebuglabel.ll

index 1724f2b2fffd111cc8c37831012a150892c848b5..f426e529f01618e28099d96a891f4112eeffbf50 100644 (file)
@@ -7,13 +7,14 @@ target triple = "i386-unknown-freebsd6.1"
        %llvm.dbg.anchor.type = type { i32, i32 }
        %llvm.dbg.basictype.type = type { i32, {  }*, i8*, {  }*, i32, i64, i64, i64, i32, i32 }
        %llvm.dbg.compile_unit.type = type { i32, {  }*, i32, i8*, i8*, i8* }
-       %llvm.dbg.global_variable.type = type { i32, {  }*, {  }*, i8*, i8*, {  }*, i32, {  }*, i1, i1, {  }* }
+       %llvm.dbg.global_variable.type = type { i32, {  }*, {  }*, i8*, i8 *, i8*, {  }*, i32, {  }*, i1, i1, {  }* }
 @x = global i32 0              ; <i32*> [#uses=1]
 @llvm.dbg.global_variable = internal constant %llvm.dbg.global_variable.type {
-    i32 327732, 
+    i32 458804,
     {  }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.global_variables to {  }*), 
     {  }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to {  }*), 
     i8* getelementptr ([2 x i8]* @str, i64 0, i64 0), 
+    i8* getelementptr ([2 x i8]* @str, i64 0, i64 0), 
     i8* null, 
     {  }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to {  }*), 
     i32 1, 
index 1d959eff3a80161c5625bebf223cafb7094e8841..a93355549e8e5877c9d72b46f5018fab1104dfa0 100644 (file)
@@ -1,6 +1,5 @@
 ; RUN: llvm-as < %s | llc | grep DWARF
 ; ModuleID = 'foo.c'
-; XFAIL: *
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin8"
        %llvm.dbg.anchor.type = type { i32, i32 }
index a01c2106720c6df5e23cf4c81ecb398bcc5a4146..d183b8a6f26b04863f6908ce8317f8aedb73622f 100644 (file)
@@ -1,6 +1,5 @@
 ; PR2614
 ; RUN: llvm-as < %s | llc | grep "label" | count 8
-; XFAIL: *
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-f80:32:32-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"