Debug Info: clean up testing case.
authorManman Ren <manman.ren@gmail.com>
Tue, 29 Oct 2013 17:27:14 +0000 (17:27 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 29 Oct 2013 17:27:14 +0000 (17:27 +0000)
Add a tag before the name attribute for readability. Use CHECK-NEXT
instead of CHECK-NOT followed by a CHECK. Add new lines to separate checking
of different DIEs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193629 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/X86/debug-info-blocks.ll

index b4e3794531a468b9959747b13f5b567f3231fb0d..1ddc4004741b58aff2c3294f23652cf78dd57c40 100644 (file)
@@ -5,13 +5,15 @@
 ; rdar://problem/9279956
 ; test that the DW_AT_location of self is at ( fbreg +{{[0-9]+}}, deref, +{{[0-9]+}} )
 
+; CHECK: DW_TAG_subprogram
 ; CHECK: DW_AT_name{{.*}}_block_invoke
+
 ; CHECK-NOT: DW_TAG_subprogram
 ; CHECK: DW_TAG_formal_parameter
-; CHECK-NOT: DW_TAG
-; CHECK: .block_descriptor
+; CHECK-NEXT: DW_AT_name{{.*}}.block_descriptor
 ; CHECK-NOT: DW_TAG
 ; CHECK: DW_AT_location
+
 ; CHECK-NOT: DW_TAG_subprogram
 ; CHECK: DW_TAG_variable
 ; CHECK-NEXT: DW_AT_name{{.*}}"self"