aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2010-05-10-MultipleCU.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-15 16:06:42 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-15 16:06:42 +0000
commitc279c9079bd265fc765326b7059914068dfc0923 (patch)
tree30737e764dddfc9e4ece3f1d9511e112c2ec506d /test/DebugInfo/2010-05-10-MultipleCU.ll
parent50cef5829dd8fcbda052c8fb702483c6212f803b (diff)
downloadexternal_llvm-c279c9079bd265fc765326b7059914068dfc0923.zip
external_llvm-c279c9079bd265fc765326b7059914068dfc0923.tar.gz
external_llvm-c279c9079bd265fc765326b7059914068dfc0923.tar.bz2
FileCheckize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116581 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/2010-05-10-MultipleCU.ll')
-rw-r--r--test/DebugInfo/2010-05-10-MultipleCU.ll18
1 files changed, 16 insertions, 2 deletions
diff --git a/test/DebugInfo/2010-05-10-MultipleCU.ll b/test/DebugInfo/2010-05-10-MultipleCU.ll
index 3b24c0c..721b708 100644
--- a/test/DebugInfo/2010-05-10-MultipleCU.ll
+++ b/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