From: David Blaikie Date: Tue, 30 Dec 2014 23:33:55 +0000 (+0000) Subject: Fix a test case to not depend on asm comment syntax, so as to be portable X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=855324b9ded46bd778683703991766781f1169b4;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225020 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/multiline.ll b/test/DebugInfo/multiline.ll index 7ad333819ee..59c7aba8186 100644 --- a/test/DebugInfo/multiline.ll +++ b/test/DebugInfo/multiline.ll @@ -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: -----