From 79c9e03097c83c99b00ad48f8626c166e90cfac8 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 27 May 2010 19:46:38 +0000 Subject: [PATCH] Let's try one more time to match patterns. The goal is to match following 3 lines. In otherwords, a temp. label between to DEBUG_VALUE comments. ;DEBUG_VALUE: bar:x <- undef ## 2010-01-18-Inlined-Debug.c:7 Ltmp1: ;DEBUG_VALUE: foo:__x <- undef ## 2010-01-18-Inlined-Debug.c:5 llvm-svn: 104872 --- test/DebugInfo/2010-05-28-Crash.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/DebugInfo/2010-05-28-Crash.ll b/test/DebugInfo/2010-05-28-Crash.ll index 7bec53139fb..fc2b1289e8e 100644 --- a/test/DebugInfo/2010-05-28-Crash.ll +++ b/test/DebugInfo/2010-05-28-Crash.ll @@ -44,6 +44,6 @@ declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone !15 = metadata !{i32 5, i32 0, metadata !11, metadata !8} !16 = metadata !{i32 9, i32 0, metadata !9, null} -;CHECK: ##DEBUG_VALUE: bar:x +;CHECK: DEBUG_VALUE: bar:x ;CHECK-NEXT:Ltmp -;CHECK-NEXT ##DEBUG_VALUE: foo:__x +;CHECK-NEXT DEBUG_VALUE: foo:__x