[llvm] r205546 - Loosen up check so that we can pass on platforms that generate
Eric Christopher
echristo at gmail.com
Thu Apr 3 10:40:09 PDT 2014
Author: echristo
Date: Thu Apr 3 12:40:08 2014
New Revision: 205546
URL: http://llvm.org/viewvc/llvm-project?rev=205546&view=rev
Log:
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.
Modified:
llvm/trunk/test/DebugInfo/unconditional-branch.ll
Modified: llvm/trunk/test/DebugInfo/unconditional-branch.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/unconditional-branch.ll?rev=205546&r1=205545&r2=205546&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/unconditional-branch.ll (original)
+++ llvm/trunk/test/DebugInfo/unconditional-branch.ll Thu Apr 3 12:40:08 2014
@@ -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){
More information about the llvm-commits
mailing list