summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitf28cc038022b5d3df15751c7a2046abeab6c9090 (patch)
treea40c75fcccd88dc7621dd62e6e731898612d0d70 /llvm/test/DebugInfo/2010-05-10-MultipleCU.ll
parent20d103e74e33eb88d0dd0653cdc08fe76d8eff0e (diff)
downloadbcm5719-llvm-f28cc038022b5d3df15751c7a2046abeab6c9090.tar.gz
bcm5719-llvm-f28cc038022b5d3df15751c7a2046abeab6c9090.zip
FileCheckize
llvm-svn: 116581
Diffstat (limited to 'llvm/test/DebugInfo/2010-05-10-MultipleCU.ll')
-rw-r--r--llvm/test/DebugInfo/2010-05-10-MultipleCU.ll18
1 files 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 3b24c0cead3..721b70839fe 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
OpenPOWER on IntegriCloud