Skip to content

Commit fcd7355

Browse files
committed
update check prefix
Created using spr 1.3.5-bogner
1 parent 80815be commit fcd7355

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/test/MC/AArch64/data-directive-specifier.s

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: llvm-mc -triple=aarch64 -filetype=obj %s | llvm-readobj -r - | FileCheck %s
2-
# RUN: not llvm-mc -triple=aarch64 -filetype=obj %s --defsym PARSEERR=1 -o /dev/null 2>&1 | FileCheck %s --check-prefix=PARSEERR --implicit-check-not=error:
32
# RUN: not llvm-mc -triple=aarch64 -filetype=obj %s --defsym ERR=1 -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR --implicit-check-not=error:
3+
# RUN: not llvm-mc -triple=aarch64 -filetype=obj %s --defsym OBJERR=1 -o /dev/null 2>&1 | FileCheck %s --check-prefix=OBJERR --implicit-check-not=error:
44

55
.globl g
66
g:
@@ -33,20 +33,20 @@ data1:
3333
.word extern@GOTPCREL-5
3434

3535
## Test parse-time errors
36-
.ifdef PARSEERR
37-
# PARSEERR: [[#@LINE+1]]:14: error: invalid variant 'pageoff'
36+
.ifdef ERR
37+
# ERR: [[#@LINE+1]]:14: error: invalid variant 'pageoff'
3838
.word extern@pageoff
3939
.endif
4040

4141
## Test assemble-time errors
42-
.ifdef ERR
43-
# ERR: [[#@LINE+1]]:7: error: symbol 'und' can not be undefined in a subtraction expression
42+
.ifdef OBJERR
43+
# OBJERR: [[#@LINE+1]]:7: error: symbol 'und' can not be undefined in a subtraction expression
4444
.word extern@plt - und
4545

4646
.quad g@plt - .
4747

4848
.word extern@gotpcrel - .
4949

50-
# ERR: [[#@LINE+1]]:7: error: symbol 'und' can not be undefined in a subtraction expression
50+
# OBJERR: [[#@LINE+1]]:7: error: symbol 'und' can not be undefined in a subtraction expression
5151
.word extern@gotpcrel - und
5252
.endif

0 commit comments

Comments
 (0)