[llvm] r233201 - Simplify missing-file-line.ll test.

Peter Collingbourne peter at pcc.me.uk
Wed Mar 25 10:58:09 PDT 2015


Author: pcc
Date: Wed Mar 25 12:58:09 2015
New Revision: 233201

URL: http://llvm.org/viewvc/llvm-project?rev=233201&view=rev
Log:
Simplify missing-file-line.ll test.

Modified:
    llvm/trunk/test/DebugInfo/X86/missing-file-line.ll

Modified: llvm/trunk/test/DebugInfo/X86/missing-file-line.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/missing-file-line.ll?rev=233201&r1=233200&r2=233201&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/missing-file-line.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/missing-file-line.ll Wed Mar 25 12:58:09 2015
@@ -1,9 +1,6 @@
 ; REQUIRES: object-emission
 
-; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj %s -o - | llvm-dwarfdump -debug-dump=all - > %t
-; RUN: FileCheck --check-prefix=CHECK1 %s < %t
-; RUN: FileCheck --check-prefix=CHECK2 %s < %t
-; RUN: FileCheck --check-prefix=CHECK3 %s < %t
+; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj %s -o - | llvm-dwarfdump -debug-dump=all - | FileCheck %s
 
 ; Test that we accept and generate DWARF entities for DW_TAG_structure_type,
 ; DW_TAG_member and DW_TAG_typedef with no source location. These can come up
@@ -16,20 +13,19 @@ target triple = "x86_64-unknown-linux-gn
 
 define void @f() {
   %x = alloca %struct.S, align 8
-  ; CHECK1: DW_TAG_structure_type
-  ; CHECK1-NOT: DW_AT_decl_file
-  ; CHECK1-NOT: DW_AT_decl_line
-  ; CHECK1: {{DW_TAG|NULL}}
-
-  ; CHECK2: DW_TAG_member
-  ; CHECK2-NOT: DW_AT_decl_file
-  ; CHECK2-NOT: DW_AT_decl_line
-  ; CHECK2: {{DW_TAG|NULL}}
-
-  ; CHECK3: DW_TAG_typedef
-  ; CHECK3-NOT: DW_AT_decl_file
-  ; CHECK3-NOT: DW_AT_decl_line
-  ; CHECK3: {{DW_TAG|NULL}}
+  ; CHECK: DW_TAG_typedef
+  ; CHECK-NOT: DW_AT_decl_file
+  ; CHECK-NOT: DW_AT_decl_line
+
+  ; CHECK: DW_TAG_structure_type
+  ; CHECK-NOT: DW_AT_decl_file
+  ; CHECK-NOT: DW_AT_decl_line
+
+  ; CHECK: DW_TAG_member
+  ; CHECK-NOT: DW_AT_decl_file
+  ; CHECK-NOT: DW_AT_decl_line
+
+  ; CHECK: {{DW_TAG|NULL}}
   call void @llvm.dbg.declare(metadata %struct.S* %x, metadata !10, metadata !16), !dbg !17
   ret void, !dbg !18
 }





More information about the llvm-commits mailing list