FileCheckize
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 16:06:42 +0000 (16:06 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 16:06:42 +0000 (16:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116581 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/2010-05-10-MultipleCU.ll

index 3b24c0cead357fc029fe2b214f692d68147df893..721b70839fefb2823783e0676abe479dc0ea56fa 100644 (file)
@@ -1,7 +1,21 @@
-; RUN: llc -O0 -asm-verbose  %s -o %t
-; RUN: grep DW_TAG_compile_unit %t | count 3
+; RUN: llc -O0 -asm-verbose < %s | FileCheck %s
 ; One for a.c, second one for b.c and third one for abbrev.
 
+; CHECK: info_begin
+; CHECK: DW_TAG_compile_unit
+; CHECK-NOT: DW_TAG_compile_unit
+; CHECK: info_end
+
+; CHECK: info_begin
+; CHECK: DW_TAG_compile_unit
+; CHECK-NOT: DW_TAG_compile_unit
+; CHECK: info_end
+
+; CHECK: abbrev_begin
+; CHECK: DW_TAG_compile_unit
+; CHECK-NOT: DW_TAG_compile_unit
+; CHECK: abbrev_end
+
 define i32 @foo() nounwind readnone ssp {
 return:
   ret i32 42, !dbg !0