llvm.org GIT mirror llvm / 855324b
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 David Blaikie 5 years ago
1 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc -filetype=asm -O0 < %s | FileCheck %s
0 ; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s
11 ; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=line - | FileCheck %s --check-prefix=INT
22
33 ; Check that the assembly output properly handles is_stmt changes. And since
1111 ; }
1212
1313
14 ; CHECK: .loc 1 2 0 {{#|@|//}}
14 ; CHECK: .loc 1 2 0{{$}}
1515 ; CHECK-NOT: .loc
16 ; CHECK: .loc 1 3 3 prologue_end {{#|@|//}}
16 ; CHECK: .loc 1 3 3 prologue_end{{$}}
1717 ; CHECK-NOT: .loc
18 ; CHECK: .loc 1 3 9 is_stmt 0 {{#|@|//}}
18 ; CHECK: .loc 1 3 9 is_stmt 0{{$}}
1919 ; CHECK-NOT: .loc
20 ; CHECK: .loc 1 3 15 {{#|@|//}}
20 ; CHECK: .loc 1 3 15{{$}}
2121 ; CHECK-NOT: .loc
22 ; CHECK: .loc 1 4 3 is_stmt 1 {{#|@|//}}
22 ; CHECK: .loc 1 4 3 is_stmt 1{{$}}
2323 ; CHECK-NOT: .loc
24 ; CHECK: .loc 1 4 9 is_stmt 0 {{#|@|//}}
24 ; CHECK: .loc 1 4 9 is_stmt 0{{$}}
2525 ; CHECK-NOT: .loc
26 ; CHECK: .loc 1 4 15 {{#|@|//}}
26 ; CHECK: .loc 1 4 15{{$}}
2727 ; CHECK-NOT: .loc
28 ; CHECK: .loc 1 5 1 is_stmt 1 {{#|@|//}}
28 ; CHECK: .loc 1 5 1 is_stmt 1{{$}}
2929
3030 ; INT: {{^}}Address
3131 ; INT: -----