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

Try again enabling LiveDebugVariables.

llvm-svn: 123342
This commit is contained in:
Jakob Stoklund Olesen 2011-01-12 23:36:21 +00:00
parent 5c1d7cc0ca
commit 3987889b61
4 changed files with 5 additions and 6 deletions

View File

@ -40,7 +40,7 @@
using namespace llvm; using namespace llvm;
static cl::opt<bool> static cl::opt<bool>
EnableLDV("live-debug-variables", EnableLDV("live-debug-variables", cl::init(true),
cl::desc("Enable the live debug variables pass"), cl::Hidden); cl::desc("Enable the live debug variables pass"), cl::Hidden);
char LiveDebugVariables::ID = 0; char LiveDebugVariables::ID = 0;

View File

@ -61,6 +61,6 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone
; CHECK-NEXT: .short 1 ; CHECK-NEXT: .short 1
; CHECK-NEXT: .byte 85 ; CHECK-NEXT: .byte 85
; CHECK-NEXT: .quad Ltmp3 ; CHECK-NEXT: .quad Ltmp3
; CHECK-NEXT: .quad Lfunc_end ; CHECK-NEXT: .quad Ltmp6
; CHECK-NEXT: .short 1 ; CHECK-NEXT: .short 1
; CHECK-NEXT: .byte 83 ; CHECK-NEXT: .byte 83

View File

@ -39,6 +39,6 @@ entry:
!13 = metadata !{i32 7, i32 0, metadata !14, null} !13 = metadata !{i32 7, i32 0, metadata !14, null}
!14 = metadata !{i32 524299, metadata !8, i32 6, i32 0} ; [ DW_TAG_lexical_block ] !14 = metadata !{i32 524299, metadata !8, i32 6, i32 0} ; [ DW_TAG_lexical_block ]
;CHECK: DEBUG_VALUE: bar:x <- EBX+0 ;CHECK: DEBUG_VALUE: bar:x <- E
;CHECK-NEXT:Ltmp ;CHECK: Ltmp
;CHECK-NEXT: DEBUG_VALUE: foo:y <- 1+0 ;CHECK: DEBUG_VALUE: foo:y <- 1+0

View File

@ -1,5 +1,4 @@
; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s ; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s
; XFAIL: *
%struct.a = type { i32 } %struct.a = type { i32 }