Man page generated from reStructuredText.
. . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
d [NT] Delete files from the archive. The \%N and \%T modifiers apply to this operation. The files options specify which members should be removed from the archive. It is not an error if a specified file does not appear in the archive. If no files are specified, the archive is not modified. NINDENT NDENT 0.0
m [abi] Move files from one location in the archive to another. The \%a, \%b, and \%i modifiers apply to this operation. The files will all be moved to the location given by the modifiers. If no modifiers are used, the files will be moved to the end of the archive. If no files are specified, the archive is not modified. NINDENT NDENT 0.0
p [v] Print files to the standard output stream. If no files are specified, the entire archive is printed. With the \%v modifier, llvm-ar also prints out the name of the file being output. Printing binary files is ill-advised as they might confuse your terminal settings. The \%p operation never modifies the archive. NINDENT NDENT 0.0
q [LT] Quickly append files to the end of the archive without removing duplicates. If no files are specified, the archive is not modified. The behavior when appending one archive to another depends upon whether the \%L and \%T modifiers are used: NDENT 7.0
r [abTu] Replace existing files or insert them at the end of the archive if they do not exist. The \%a, \%b, \%T and \%u modifiers apply to this operation. If no files are specified, the archive is not modified. NINDENT t[v] .. option:: t [vO] NDENT 0.0 NDENT 3.5 Print the table of contents. Without any modifiers, this operation just prints the names of the members to the standard output stream. With the \%v modifier, llvm-ar also prints out the file type (B=bitcode, S=symbol table, blank=regular file), the permission mode, the owner and group, are ignored when extracting files and set to placeholder values when adding size, and the date. With the \%O modifier, display member offsets. If any files are specified, the listing is only for those files. If no files are specified, the table of contents for the whole archive is printed. NINDENT NINDENT NDENT 0.0
V A synonym for the \%--version option. NINDENT NDENT 0.0
x [oP] Extract archive members back to files. The \%o modifier applies to this operation. This operation retrieves the indicated files from the archive and writes them back to the operating system\(aqs file system. If no files are specified, the entire archive is extracted. NINDENT
a When inserting or moving member files, this option specifies the destination of the new files as being after the relpos member. If relpos is not found, the files are placed at the end of the archive. relpos cannot be consumed without either \%a, \%b or \%i. NINDENT NDENT 0.0
b When inserting or moving member files, this option specifies the destination of the new files as being before the relpos member. If relpos is not found, the files are placed at the end of the archive. relpos cannot be consumed without either \%a, \%b or \%i. This modifier is identical to the \%i modifier. NINDENT NDENT 0.0
i A synonym for the \%b option. NINDENT NDENT 0.0
L When quick appending an archive, instead quick append its members. This is a feature for llvm-ar that is not found in gnu-ar. NINDENT NDENT 0.0
N When extracting or deleting a member that shares its name with another member, the count parameter allows you to supply a positive whole number that selects the instance of the given name, with "1" indicating the first instance. If \%N is not specified the first member of that name will be selected. If count is not supplied, the operation fails.*count* cannot be NINDENT NDENT 0.0
o When extracting files, use the modification times of any files as they appear in the archive. By default files extracted from the archive use the time of extraction. NINDENT NDENT 0.0
O Display member offsets inside the archive. NINDENT NDENT 0.0
T When creating or modifying an archive, this option specifies that the archive will be thin. By default, archives are not created as thin archives and when modifying a thin archive, it will be converted to a regular archive. NINDENT NDENT 0.0
v When printing files or the archive table of contents, this modifier instructs llvm-ar to include additional information in the output. NINDENT
c For the \%r (replace)and \%q (quick update) operations, llvm-ar will always create the archive if it doesn\(aqt exist. Normally, llvm-ar will print a warning message indicating that the archive is being created. Using this modifier turns off that warning. NINDENT NDENT 0.0
D Use zero for timestamps and UIDs/GIDs. This is set by default. NINDENT NDENT 0.0
P Use full paths when matching member names rather than just the file name. This can be useful when manipulating an archive generated by another archiver, as some allow paths as member names. This is the default behavior for thin archives. NINDENT NDENT 0.0
s This modifier requests that an archive index (or symbol table) be added to the archive, as if using ranlib. The symbol table will contain all the externally visible functions and global variables defined by all the bitcode files in the archive. By default llvm-ar generates symbol tables in archives. This can also be used as an operation. NINDENT NDENT 0.0
S This modifier is the opposite of the \%s modifier. It instructs llvm-ar to not build the symbol table. If both \%s and \%S are used, the last modifier to occur in the options will prevail. NINDENT NDENT 0.0
u Only update archive members with files that have more recent timestamps. NINDENT NDENT 0.0
U Use actual timestamps and UIDs/GIDs. NINDENT
--format=<type> This option allows for default, gnu, darwin or bsd <type> to be selected. When creating an archive, <type> will default to that of the host machine. NINDENT NDENT 0.0
-h, --help Print a summary of command-line options and their meanings. NINDENT NDENT 0.0
-M This option allows for MRI scripts to be read through the standard input stream. No other options are compatible with this option. NINDENT NDENT 0.0
--version Display the version of the llvm-ar executable. NINDENT NDENT 0.0
@<FILE> Read command-line options and commands from response file <FILE>. NINDENT
CREATE archive Begin creation of a regular archive with the specified name. Subsequent commands act upon this archive. NINDENT NDENT 0.0
CREATETHIN archive Begin creation of a thin archive with the specified name. Subsequent commands act upon this archive. NINDENT NDENT 0.0
ADDLIB archive Append the contents of archive to the current archive. NINDENT NDENT 0.0
ADDMOD <file> Append <file> to the current archive. NINDENT NDENT 0.0
DELETE <file> Delete the member of the current archive whose file name, excluding directory components, matches <file>. NINDENT NDENT 0.0
SAVE Write the current archive to the path specified in the previous \%CREATE/\%CREATETHIN command. NINDENT NDENT 0.0
END Ends the MRI script (optional). NINDENT
.