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
This commit is contained in:
Devang Patel 2010-05-27 19:46:38 +00:00
parent f162eace49
commit 91ad65e8b7
1 changed files with 2 additions and 2 deletions

View File

@ -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