[llvm] r193629 - Debug Info: clean up testing case.
Manman Ren
manman.ren at gmail.com
Tue Oct 29 10:27:14 PDT 2013
Author: mren
Date: Tue Oct 29 12:27:14 2013
New Revision: 193629
URL: http://llvm.org/viewvc/llvm-project?rev=193629&view=rev
Log:
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.
Modified:
llvm/trunk/test/DebugInfo/X86/debug-info-blocks.ll
Modified: llvm/trunk/test/DebugInfo/X86/debug-info-blocks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/debug-info-blocks.ll?rev=193629&r1=193628&r2=193629&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/debug-info-blocks.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/debug-info-blocks.ll Tue Oct 29 12:27:14 2013
@@ -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"
More information about the llvm-commits
mailing list