1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Use DebugInfo interface to lower dbg_* intrinsics.

llvm-svn: 62126
This commit is contained in:
Devang Patel 2009-01-13 00:32:17 +00:00
parent 13a43a3789
commit 6d7fd4b913
3 changed files with 3 additions and 4 deletions

View 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,

View 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 }

View 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"