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

Enable LiveDebugVariables by default.

llvm-svn: 123282
This commit is contained in:
Jakob Stoklund Olesen 2011-01-11 22:45:28 +00:00
parent f681d4e782
commit d7a523358c
4 changed files with 5 additions and 6 deletions

View File

@ -40,7 +40,7 @@
using namespace llvm;
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);
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: .byte 85
; CHECK-NEXT: .quad Ltmp3
; CHECK-NEXT: .quad Lfunc_end
; CHECK-NEXT: .quad Ltmp6
; CHECK-NEXT: .short 1
; CHECK-NEXT: .byte 83

View File

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

View File

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