From faf4ed2da85b10eb0b6c506c4a642a2a9395786f Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Tue, 29 Oct 2013 17:27:14 +0000 Subject: [PATCH] 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 --- test/DebugInfo/X86/debug-info-blocks.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/DebugInfo/X86/debug-info-blocks.ll b/test/DebugInfo/X86/debug-info-blocks.ll index b4e3794531a..1ddc4004741 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" -- 2.50.1