blob: c3473c9a914fc33d962004c93a0efeadb96df1d4 [file] [log] [blame]
Reid Spencer37d813d2004-11-12 00:18:35 +00001=pod
2
3=head1 NAME
4
5llvm-ranlib - Generate index for LLVM archive
6
7=head1 SYNOPSIS
8
9B<llvm-ranlib> [--version] [--help] <archive-file>
10
11=head1 DESCRIPTION
12
13The B<llvm-ranlib> command is similar to the common Unix utility, C<ranlib>. It
14adds or updates the symbol table in an LLVM archive file. Note that using the
15B<llvm-ar> modifier F<s> is usually more efficient than running B<llvm-ranlib>
16which is only provided only for completness and compatibility. Unlike other
17implementations of C<ranlib>, B<llvm-ranlib> indexes LLVM bytecode files, not
18native object modules. You can list the contents of the symbol table with the
19C<llvm-nm -s> command.
20
21=head1 OPTIONS
22
23=over
24
25=item F<archive-file>
26
27Specifies the archive-file to which the symbol table is added or updated.
28
29=item F<--version>
30
31Print the version of B<llvm-ranlib> and exit without building a symbol table.
32
33=item F<--help>
34
35Print usage help for B<llvm-ranlib> and exit without building a symbol table.
36
37=back
38
39=head1 EXIT STATUS
40
41If B<llvm-ranlib> succeeds, it will exit with 0. If an error occurs, a non-zero
42exit code will be returned.
43
44=head1 SEE ALSO
45
Chris Lattner0a3aac22005-05-13 20:08:34 +000046L<llvm-ar|llvm-ar>, ranlib(1)
Reid Spencer37d813d2004-11-12 00:18:35 +000047
48=head1 AUTHORS
49
Reid Spencercd143fc2006-03-14 05:42:07 +000050Maintained by the LLVM Team (L<http://llvm.org>).
Reid Spencer37d813d2004-11-12 00:18:35 +000051
52=cut