X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FDebugInfo%2F2010-05-10-MultipleCU.ll;h=721b70839fefb2823783e0676abe479dc0ea56fa;hb=3ef91f575e0a6e4a81c887853470686edb472c86;hp=3b24c0cead357fc029fe2b214f692d68147df893;hpb=163a9f7c5f545414506364a94689e22d59533fe6;p=oota-llvm.git diff --git a/test/DebugInfo/2010-05-10-MultipleCU.ll b/test/DebugInfo/2010-05-10-MultipleCU.ll index 3b24c0cead3..721b70839fe 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