aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-13 00:32:17 +0000
committerDevang Patel <dpatel@apple.com>2009-01-13 00:32:17 +0000
commit6fbbe4390b4acdcfd1887498c1a05a7f24fa9666 (patch)
tree8bb6088113d84b11ff02d3f2b35a81190a59ba2f /test
parent7bb89ed33c590717b509e700180baa9fdbbd0a93 (diff)
downloadexternal_llvm-6fbbe4390b4acdcfd1887498c1a05a7f24fa9666.zip
external_llvm-6fbbe4390b4acdcfd1887498c1a05a7f24fa9666.tar.gz
external_llvm-6fbbe4390b4acdcfd1887498c1a05a7f24fa9666.tar.bz2
Use DebugInfo interface to lower dbg_* intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/2006-07-19-ATTAsm.ll5
-rw-r--r--test/DebugInfo/dataOnly.ll1
-rw-r--r--test/DebugInfo/deaddebuglabel.ll1
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 1724f2b..f426e52 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 ; <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,
diff --git a/test/DebugInfo/dataOnly.ll b/test/DebugInfo/dataOnly.ll
index 1d959ef..a933555 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 a01c210..d183b8a 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"