Loosen up check so that we can pass on platforms that generate

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
This commit is contained in:
Eric Christopher 2014-04-03 17:40:08 +00:00
parent 5fe5b3dcc8
commit 1c36a6d8e7

View 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){