File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
66g:
@@ -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
You can’t perform that action at this time.
0 commit comments