FileCheckize

llvm-svn: 116581
This commit is contained in:
Jakob Stoklund Olesen 2010-10-15 16:06:42 +00:00
parent 20d103e74e
commit f28cc03802
1 changed files with 16 additions and 2 deletions

View 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