OSDN Git Service

Loosen up check so that we can pass on platforms that generate
authorEric Christopher <echristo@gmail.com>
Thu, 3 Apr 2014 17:40:08 +0000 (17:40 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 3 Apr 2014 17:40:08 +0000 (17:40 +0000)
slightly more verbose than needed line tables, e.g.:

Address            Line   Column File   ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x0000000000000000      1      0      1   0             0  is_stmt
0x0000000000000000      1      0      1   0             0  is_stmt prologue_end
0x0000000000000010      2      0      1   0             0  is_stmt
0x0000000000000018      4      0      1   0             0  is_stmt

these should probably be looked at, but it isn't affecting the correctness
of the testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205546 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/unconditional-branch.ll

index 1e5dac6..6c31375 100644 (file)
@@ -1,12 +1,12 @@
 ; REQUIRES: object-emission
 ; PR 19261
 
-; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj < %s > %t
+; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t
 ; RUN: llvm-dwarfdump %t | FileCheck %s
 
 ; CHECK: {{0x[0-9a-f]+}}      1      0      1   0             0  is_stmt
-; CHECK-NEXT: {{0x[0-9a-f]+}}      2      0      1   0             0  is_stmt
-; CHECK-NEXT: {{0x[0-9a-f]+}}      4      0      1   0             0  is_stmt
+; CHECK: {{0x[0-9a-f]+}}      2      0      1   0             0  is_stmt
+; CHECK: {{0x[0-9a-f]+}}      4      0      1   0             0  is_stmt
 
 ; IR generated from clang -O0 -g with the following source:
 ;void foo(int i){