summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/multiline.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-12-30 23:33:55 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-12-30 23:33:55 +0000
commit3927b97151e048c4dbdde35efe3de1c1f0e85c46 (patch)
tree5c6f6a1a2cea5cab6590a023b5ccd0fe03de8529 /llvm/test/DebugInfo/multiline.ll
parent7a3f48292cc4f90d93593f857cda9d3d97da78eb (diff)
downloadbcm5719-llvm-3927b97151e048c4dbdde35efe3de1c1f0e85c46.tar.gz
bcm5719-llvm-3927b97151e048c4dbdde35efe3de1c1f0e85c46.zip
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. llvm-svn: 225020
Diffstat (limited to 'llvm/test/DebugInfo/multiline.ll')
-rw-r--r--llvm/test/DebugInfo/multiline.ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/test/DebugInfo/multiline.ll b/llvm/test/DebugInfo/multiline.ll
index 7ad333819ee..59c7aba8186 100644
--- a/llvm/test/DebugInfo/multiline.ll
+++ b/llvm/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: -----
OpenPOWER on IntegriCloud