[llvm-commits] [llvm] r116581 - /llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Oct 15 09:06:42 PDT 2010
Author: stoklund
Date: Fri Oct 15 11:06:42 2010
New Revision: 116581
URL: http://llvm.org/viewvc/llvm-project?rev=116581&view=rev
Log:
FileCheckize
Modified:
llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll
Modified: llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll?rev=116581&r1=116580&r2=116581&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll (original)
+++ llvm/trunk/test/DebugInfo/2010-05-10-MultipleCU.ll Fri Oct 15 11:06:42 2010
@@ -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
More information about the llvm-commits
mailing list