From 6fbbe4390b4acdcfd1887498c1a05a7f24fa9666 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 13 Jan 2009 00:32:17 +0000 Subject: [PATCH] Use DebugInfo interface to lower dbg_* intrinsics. 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 | 5 +++-- test/DebugInfo/dataOnly.ll | 1 - test/DebugInfo/deaddebuglabel.ll | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/X86/2006-07-19-ATTAsm.ll b/test/CodeGen/X86/2006-07-19-ATTAsm.ll index 1724f2b2fff..f426e529f01 100644 --- a/test/CodeGen/X86/2006-07-19-ATTAsm.ll +++ b/test/CodeGen/X86/2006-07-19-ATTAsm.ll @@ -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 ; [#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, diff --git a/test/DebugInfo/dataOnly.ll b/test/DebugInfo/dataOnly.ll index 1d959eff3a8..a93355549e8 100644 --- a/test/DebugInfo/dataOnly.ll +++ b/test/DebugInfo/dataOnly.ll @@ -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 } diff --git a/test/DebugInfo/deaddebuglabel.ll b/test/DebugInfo/deaddebuglabel.ll index a01c2106720..d183b8a6f26 100644 --- a/test/DebugInfo/deaddebuglabel.ll +++ b/test/DebugInfo/deaddebuglabel.ll @@ -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" -- 2.34.1