mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
DebugInfo: follow up to 184045 to constrain the tests further to ensure they don't contain +0 offsets
llvm-svn: 184046
This commit is contained in:
parent
7a29358013
commit
ef0e4640d7
@ -5,8 +5,8 @@ target triple = "thumbv7-apple-macosx10.6.7"
|
||||
;CHECK: vadd.f32 q4, q8, q8
|
||||
;CHECK-NEXT: LBB0_1
|
||||
|
||||
;CHECK:@DEBUG_VALUE: x <- Q4
|
||||
;CHECK-NEXT:@DEBUG_VALUE: y <- Q4
|
||||
;CHECK:@DEBUG_VALUE: x <- Q4{{$}}
|
||||
;CHECK-NEXT:@DEBUG_VALUE: y <- Q4{{$}}
|
||||
|
||||
|
||||
@.str = external constant [13 x i8]
|
||||
|
@ -46,4 +46,4 @@ entry:
|
||||
|
||||
;CHECK: DEBUG_VALUE: bar:x <- E
|
||||
;CHECK: Ltmp
|
||||
;CHECK: DEBUG_VALUE: foo:y <- 1
|
||||
;CHECK: DEBUG_VALUE: foo:y <- 1{{$}}
|
||||
|
@ -8,7 +8,7 @@ target triple = "x86_64-apple-darwin10.2"
|
||||
@llvm.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.foo*, i32)* @_ZN3foo3bazEi to i8*)], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0]
|
||||
|
||||
define i32 @_ZN3foo3bazEi(%struct.foo* nocapture %this, i32 %x) nounwind readnone optsize noinline ssp align 2 {
|
||||
;CHECK: DEBUG_VALUE: baz:this <- RDI
|
||||
;CHECK: DEBUG_VALUE: baz:this <- RDI{{$}}
|
||||
entry:
|
||||
tail call void @llvm.dbg.value(metadata !{%struct.foo* %this}, i64 0, metadata !15)
|
||||
tail call void @llvm.dbg.value(metadata !{i32 %x}, i64 0, metadata !16)
|
||||
|
@ -16,7 +16,7 @@ entry:
|
||||
call void @llvm.dbg.value(metadata !12, i64 0, metadata !13), !dbg !14
|
||||
%tmp2 = load i32 addrspace(1)* %ip, align 4, !dbg !15
|
||||
%tmp3 = add i32 0, %tmp2, !dbg !15
|
||||
; CHECK: ##DEBUG_VALUE: idx <- EAX
|
||||
; CHECK: ##DEBUG_VALUE: idx <- EAX{{$}}
|
||||
call void @llvm.dbg.value(metadata !{i32 %tmp3}, i64 0, metadata !13), !dbg
|
||||
!15
|
||||
%arrayidx = getelementptr i32 addrspace(1)* %ip, i32 %1, !dbg !16
|
||||
|
Loading…
Reference in New Issue
Block a user