The world is not ready for LiveDebugVariables yet.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 23:20:33 +0000 (23:20 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 23:20:33 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123290 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveDebugVariables.cpp
test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
test/CodeGen/X86/2010-05-28-Crash.ll
test/CodeGen/X86/dbg-value-range.ll

index 1349bf5e7886bf7753089331e3bfe7d2799d706b..9a67a630b5428bedd05029d1f6a236f0e03b270c 100644 (file)
@@ -40,7 +40,7 @@
 using namespace llvm;
 
 static cl::opt<bool>
-EnableLDV("live-debug-variables", cl::init(true),
+EnableLDV("live-debug-variables",
           cl::desc("Enable the live debug variables pass"), cl::Hidden);
 
 char LiveDebugVariables::ID = 0;
index 60171eb62973bb94506317618c06409143c028de..13f72a99d2b2655218cd24859ca303bb9d2a0520 100644 (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   Ltmp6
+; CHECK-NEXT: .quad   Lfunc_end
 ; CHECK-NEXT: .short  1
 ; CHECK-NEXT: .byte   83
index ad8546ef8ce8f486ecf8717e250246c54fb4e037..80643d0792acfa4aec55c768c05cad1715b5df12 100644 (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 <- E
-;CHECKLtmp
-;CHECK:        DEBUG_VALUE: foo:y <- 1+0
+;CHECK:                DEBUG_VALUE: bar:x <- EBX+0
+;CHECK-NEXT:Ltmp
+;CHECK-NEXT:   DEBUG_VALUE: foo:y <- 1+0
index 4d615d7c82d169aaec3c841ed0a1ddc8e31ea11b..1ea009e14a7f15c02f53c06d1300d35e2ee441cd 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s
+; XFAIL: *
 
 %struct.a = type { i32 }