Fix a test case to not depend on asm comment syntax, so as to be portable
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Dec 2014 23:33:55 +0000 (23:33 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 30 Dec 2014 23:33:55 +0000 (23:33 +0000)
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.

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

test/DebugInfo/multiline.ll

index 7ad333819ee2afaf99426f0c6d5c0b1e1cc27117..59c7aba8186ff7388b8e8e81c89a36dbe70ebc6d 100644 (file)
@@ -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
 ; }
 
 
-; 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: -----