From f28cc038022b5d3df15751c7a2046abeab6c9090 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 15 Oct 2010 16:06:42 +0000 Subject: [PATCH] FileCheckize llvm-svn: 116581 --- llvm/test/DebugInfo/2010-05-10-MultipleCU.ll | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/llvm/test/DebugInfo/2010-05-10-MultipleCU.ll b/llvm/test/DebugInfo/2010-05-10-MultipleCU.ll index 3b24c0cead35..721b70839fef 100644 --- a/llvm/test/DebugInfo/2010-05-10-MultipleCU.ll +++ b/llvm/test/DebugInfo/2010-05-10-MultipleCU.ll @@ -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