File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 17
17
# HELP: USAGE:
18
18
# HELP: : supported targets:{{.*}} elf
19
19
20
- # RUN: ld.lld --version 2>&1 | FileCheck -check-prefix=VERSION %s
21
- # RUN: ld.lld -v 2>&1 | FileCheck -check-prefix=VERSION %s
22
- # RUN: not ld.lld -v xyz 2>&1 | FileCheck -check-prefix=VERSION %s
23
- # VERSION: LLD {{.*}} (compatible with GNU linkers)
24
-
25
20
# RUN: not ld.lld --versin 2>&1 | FileCheck -check-prefix=SPELLVERSION %s
26
21
# SPELLVERSION: unknown argument '--versin', did you mean '--version'
27
22
Original file line number Diff line number Diff line change
1
+ ## --version skips input file processing.
2
+ # RUN: ld.lld --version %t/not-exist 2>&1 | FileCheck %s
3
+
4
+ ## -v/-V don't skip processing if there is any input.
5
+ # RUN: ld.lld -v 2>&1 | FileCheck %s
6
+ # RUN: not ld.lld -v %t/not-exist 2>&1 | FileCheck %s
7
+ # RUN: ld.lld -V 2>&1 | FileCheck %s
8
+
9
+ # CHECK: LLD {{.*}} (compatible with GNU linkers)
You can’t perform that action at this time.
0 commit comments