[llvm] 74cb8df - [AIX][NFC] modify the llvm-ar help information for big archive.
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 22 10:52:44 PDT 2022
Author: zhijian
Date: 2022-07-22T13:52:18-04:00
New Revision: 74cb8dfaac09e328e96c79f2aa9df1305fd82fd3
URL: https://github.com/llvm/llvm-project/commit/74cb8dfaac09e328e96c79f2aa9df1305fd82fd3
DIFF: https://github.com/llvm/llvm-project/commit/74cb8dfaac09e328e96c79f2aa9df1305fd82fd3.diff
LOG: [AIX][NFC] modify the llvm-ar help information for big archive.
Reviewers: James Henderson
Differential Revision: https://reviews.llvm.org/D130292
Added:
Modified:
llvm/docs/CommandGuide/llvm-ar.rst
llvm/tools/llvm-ar/llvm-ar.cpp
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-ar.rst b/llvm/docs/CommandGuide/llvm-ar.rst
index 3d1fe3d0e9827..f643b214bcc83 100644
--- a/llvm/docs/CommandGuide/llvm-ar.rst
+++ b/llvm/docs/CommandGuide/llvm-ar.rst
@@ -18,9 +18,9 @@ the archive can contain any kind of file. By default, :program:`llvm-ar`
generates a symbol table that makes linking faster because only the symbol
table needs to be consulted, not each individual file member of the archive.
-The :program:`llvm-ar` command can be used to *read* archive files in SVR4,
-GNU, BSD and Darwin format, and *write* in the GNU, BSD, and Darwin style
-archive files. If an SVR4 format archive is used with the :option:`r`
+The :program:`llvm-ar` command can be used to *read* archive files in SVR4, GNU,
+BSD , Big Archive, and Darwin format, and *write* in the GNU, BSD, Big Archive, and
+Darwin style archive files. If an SVR4 format archive is used with the :option:`r`
(replace), :option:`d` (delete), :option:`m` (move) or :option:`q`
(quick update) operations, the archive will be reconstructed in the format
defined by :option:`--format`.
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index bfb3aa5180733..1d4a8e9cd398b 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -87,7 +87,7 @@ static void printArHelp(StringRef ToolName) {
=gnu - gnu
=darwin - darwin
=bsd - bsd
- =aix - aix (big archive)
+ =bigarchive - big archive (AIX OS)
--plugin=<string> - ignored for compatibility
-h --help - display this help and exit
--output - the directory to extract archive members to
More information about the llvm-commits
mailing list