summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-29 17:27:14 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-29 17:27:14 +0000
commitfaf4ed2da85b10eb0b6c506c4a642a2a9395786f (patch)
tree75b2d74f41be5ccf38428b72408404b76e232a1b /test
parentffc7dca885151ed42642c2d6733e8db75d276621 (diff)
downloadllvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.tar.gz
llvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.tar.bz2
llvm-faf4ed2da85b10eb0b6c506c4a642a2a9395786f.tar.xz
Debug Info: clean up testing case.
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
Diffstat (limited to 'test')
-rw-r--r--test/DebugInfo/X86/debug-info-blocks.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/debug-info-blocks.ll b/test/DebugInfo/X86/debug-info-blocks.ll
index b4e3794531..1ddc400474 100644
--- a/test/DebugInfo/X86/debug-info-blocks.ll
+++ b/test/DebugInfo/X86/debug-info-blocks.ll
@@ -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"