• Home
  • Raw
  • Download

Lines Matching refs:the

16 The **llvm-ar** command is similar to the common Unix utility, ``ar``. It
19 LLVM program. However, the archive can contain any kind of file. By default,
21 only the symbol table needs to be consulted, not each individual file member
22 of the archive.
25 files. However, right now it can only write in the GNU format. If an
26 SVR4 or BSD style archive is used with the ``r`` (replace) or ``q`` (quick
27 update) operations, the archive will be reconstructed in GNU format.
41 archives with the GNU format.
52 perform on the archive, a variety of modifiers for that operation, the name of
53 the archive file, and an optional list of file names. These options are used to
54 determine how **llvm-ar** should process the archive file.
56 The Operations and Modifiers are explained in the sections below. The minimal
57 set of options is at least one operator and the name of the archive. Typically
59 the *archive-name* comes a list of *files* that indicate the specific members
60 of the archive to operate on. If the *files* option is not specified, it
61 generally means either "none" or "all" members, depending on the operation.
70 Delete files from the archive. No modifiers are applicable to this operation.
71 The *files* options specify which members should be removed from the
72 archive. It is not an error if a specified file does not appear in the archive.
73 If no *files* are specified, the archive is not modified.
79 Move files from one location in the archive to another. The *a*, *b*, and
81 to the location given by the modifiers. If no modifiers are used, the files
82 will be moved to the end of the archive. If no *files* are specified, the
89 Print files to the standard output. This operation simply prints the
90 *files* indicated to the standard output. If no *files* are
91 specified, the entire archive is printed. Printing bitcode files is
93 operation never modifies the archive.
99 Quickly append files to the end of the archive. This operation quickly adds the
100 *files* to the archive without checking for duplicates that should be
101 removed first. If no *files* are specified, the archive is not modified.
102 Because of the way that **llvm-ar** constructs the archive file, its dubious
103 whether the *q* operation is any faster than the *r* operation.
111 *files* or insert them at the end of the archive if they do not exist. If no
112 *files* are specified, the archive is not modified.
118 Print the table of contents. Without any modifiers, this operation just prints
119 the names of the members to the standard output. With the *v* modifier,
120 **llvm-ar** also prints out the file type (B=bitcode, S=symbol
121 table, blank=regular file), the permission mode, the owner and group, the
122 size, and the date. If any *files* are specified, the listing is only for
123 those files. If no *files* are specified, the table of contents for the
131 operation. This operation retrieves the indicated *files* from the archive
132 and writes them back to the operating system's file system. If no
133 *files* are specified, the entire archive is extract.
142 The modifiers below are specific to certain operations. See the Operations
148 When inserting or moving member files, this option specifies the destination of
149 the new files as being after the *relpos* member. If *relpos* is not found,
150 the files are placed at the end of the archive.
156 When inserting or moving member files, this option specifies the destination of
157 the new files as being before the *relpos* member. If *relpos* is not
158 found, the files are placed at the end of the archive. This modifier is
159 identical to the *i* modifier.
165 A synonym for the *b* option.
171 When extracting files, this option will cause **llvm-ar** to preserve the
172 original modification times of the files it writes.
178 When replacing existing files in the archive, only replace those files that have
179 a time stamp than the time stamp of the member in the archive.
193 For all operations, **llvm-ar** will always create the archive if it doesn't
194 exist. Normally, **llvm-ar** will print a warning message indicating that the
201 This modifier requests that an archive index (or symbol table) be added to the
202 archive. This is the default mode of operation. The symbol table will contain
203 all the externally visible functions and global variables defined by all the
204 bitcode files in the archive.
210 This modifier is the opposite of the *s* modifier. It instructs **llvm-ar** to
211 not build the symbol table. If both *s* and *S* are used, the last modifier to
212 occur in the options will prevail.
219 editing operation taken against the archive will produce a line of output saying
230 The **llvm-ar** utility is intended to provide a superset of the IEEE Std 1003.2
232 Mac OS X) archives. If the ``f`` modifier is given to the ``x`` or ``r`` operations
235 immediately after the header and indicated using the "#1/ddd" notation for the
236 name in the header.
244 archive files. In fact, except for the symbol table, the ``ar`` commands on those
245 operating systems should be able to read LLVM archive files. The details of the
248 Each archive begins with the archive magic number which is the eight printable
249 characters "!<arch>\n" where \n represents the newline character (0x0A).
250 Following the magic number, the file is composed of even length members that
252 (to make the length even). Each file member is composed of a header (defined
253 below), an optional newline-terminated "long file name" and the contents of
254 the file.
256 The fields of the header are described in the items below. All fields of the
263 This field of the header provides the name of the archive member. If the name is
265 contains ``#1/nnn`` where ``nnn`` provides the length of the name and the ``#1/``
266 is literal. In this case, the actual name of the file is provided in the ``nnn``
267 bytes immediately following the header. If the name is 15 characters or less, it
274 This field provides the date of modification of the file in the form of a
275 decimal encoded number that provides the number of seconds since the epoch
282 This field provides the user id of the file encoded as a decimal ASCII string.
283 This field might not make much sense on non-Unix systems. On Unix, it is the
284 same value as the st_uid field of the stat structure returned by the stat(2)
291 This field provides the group id of the file encoded as a decimal ASCII string.
292 This field might not make much sense on non-Unix systems. On Unix, it is the
293 same value as the st_gid field of the stat structure returned by the stat(2)
300 This field provides the access mode of the file encoded as an octal ASCII
302 is the same value as the st_mode field of the stat structure returned by the
309 This field provides the size of the file, in bytes, encoded as a decimal ASCII
316 This field is the archive file member magic number. Its content is always the
323 The offset item provides the offset into the archive file where the bitcode
324 member is stored that is associated with the symbol. The offset value is 0
325 based at the start of the first "normal" file member. To derive the actual
326 file offset of the member, you must add the number of bytes occupied by the file
327 signature (8 bytes) and the symbol tables. The value of this item is encoded
328 using variable bit rate encoding to reduce the size of the symbol table.
329 Variable bit rate encoding uses the high bit (0x80) of each byte to indicate
331 from the value. The final byte does not have the high bit set.
337 The length item provides the length of the symbol that follows. Like this
338 *offset* item, the length is variable bit rate encoded.
344 The symbol item provides the text of the symbol that is associated with the
346 by the *length* field. Note that is allowed (but unwise) to use non-printing
347 characters (even 0x00) in the symbol. This allows for multiple encodings of