[llvm] r225020 - Fix a test case to not depend on asm comment syntax, so as to be portable
David Blaikie
dblaikie at gmail.com
Tue Dec 30 15:33:55 PST 2014
Author: dblaikie
Date: Tue Dec 30 17:33:55 2014
New Revision: 225020
URL: http://llvm.org/viewvc/llvm-project?rev=225020&view=rev
Log:
Fix a test case to not depend on asm comment syntax, so as to be portable
Too many different comment characters - instead of trying to account for
them all, instead disable the comments and just check for end-of-line
instead.
Modified:
llvm/trunk/test/DebugInfo/multiline.ll
Modified: llvm/trunk/test/DebugInfo/multiline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/multiline.ll?rev=225020&r1=225019&r2=225020&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/multiline.ll (original)
+++ llvm/trunk/test/DebugInfo/multiline.ll Tue Dec 30 17:33:55 2014
@@ -1,4 +1,4 @@
-; RUN: llc -filetype=asm -O0 < %s | FileCheck %s
+; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=line - | FileCheck %s --check-prefix=INT
; Check that the assembly output properly handles is_stmt changes. And since
@@ -12,21 +12,21 @@
; }
-; CHECK: .loc 1 2 0 {{#|@|//}}
+; CHECK: .loc 1 2 0{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 3 3 prologue_end {{#|@|//}}
+; CHECK: .loc 1 3 3 prologue_end{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 3 9 is_stmt 0 {{#|@|//}}
+; CHECK: .loc 1 3 9 is_stmt 0{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 3 15 {{#|@|//}}
+; CHECK: .loc 1 3 15{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 4 3 is_stmt 1 {{#|@|//}}
+; CHECK: .loc 1 4 3 is_stmt 1{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 4 9 is_stmt 0 {{#|@|//}}
+; CHECK: .loc 1 4 9 is_stmt 0{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 4 15 {{#|@|//}}
+; CHECK: .loc 1 4 15{{$}}
; CHECK-NOT: .loc
-; CHECK: .loc 1 5 1 is_stmt 1 {{#|@|//}}
+; CHECK: .loc 1 5 1 is_stmt 1{{$}}
; INT: {{^}}Address
; INT: -----
More information about the llvm-commits
mailing list