mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 19:01:55 +00:00
[llvm-ar] Document response file support in --help
Also a test for this. Differential Revision: https://reviews.llvm.org/D63836 llvm-svn: 364673
This commit is contained in:
parent
62a627ae78
commit
70a8027c60
9
llvm/test/tools/llvm-ar/response-file.test
Normal file
9
llvm/test/tools/llvm-ar/response-file.test
Normal file
@ -0,0 +1,9 @@
|
||||
RUN: touch %t-a.txt %t-b.txt %t-c.txt
|
||||
RUN: echo "rcs %t.a %t-a.txt %t-b.txt %t-c.txt" > %t-response
|
||||
RUN: rm -f %t.a
|
||||
RUN: llvm-ar @%t-response
|
||||
RUN: llvm-ar t %t.a | FileCheck %s
|
||||
|
||||
CHECK: a.txt
|
||||
CHECK-NEXT: b.txt
|
||||
CHECK-NEXT: c.txt
|
@ -78,6 +78,7 @@ OPTIONS:
|
||||
--plugin=<string> - Ignored for compatibility
|
||||
--help - Display available options
|
||||
--version - Display the version of this program
|
||||
@<file> - read options from <file>
|
||||
|
||||
OPERATIONS:
|
||||
d - delete [files] from the archive
|
||||
|
Loading…
x
Reference in New Issue
Block a user