File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 53
53
# RUN: not ld.lld %t -output=/no/such/file 2>&1 | FileCheck -check-prefix=ERR9 %s
54
54
# ERR9: cannot open output file utput=/no/such/file
55
55
56
- # RUN: ld.lld %t -z foo -o /dev/null 2>&1 | FileCheck -check-prefix=ERR10 %s
57
- # RUN: ld.lld %t -z foo -o /dev/null --version 2>&1 | FileCheck -check-prefix=ERR10 %s
56
+ # RUN: ld.lld %t -z foo -o /dev/null 2>&1 | FileCheck -check-prefix=ERR10 %s --implicit-check-not=warning:
57
+ # RUN: ld.lld %t -z foo -z rel -z rela -z max-page-size=1 -z common-page-size=1 -o /dev/null --version 2>&1 | \
58
+ # RUN: FileCheck -check-prefix=ERR10 %s --implicit-check-not=warning:
58
59
# ERR10: warning: unknown -z value: foo
59
60
60
61
## Check we report "unknown -z value" error even with -v.
61
- # RUN: ld.lld %t -z foo -o /dev/null -v 2>&1 | FileCheck -check-prefix=ERR10 %s
62
+ # RUN: ld.lld %t -z foo -z rel - o /dev/null -v 2>&1 | FileCheck -check-prefix=ERR10 %s --implicit-check-not=warning:
62
63
63
64
## Note: in GNU ld, --fatal-warning still leads to a warning.
64
65
# RUN: not ld.lld %t -z foo --fatal-warnings 2>&1 | FileCheck --check-prefix=ERR10-FATAL %s
You can’t perform that action at this time.
0 commit comments