blob: c3d9a909336159c678e393804d74f710df266dee [file] [log] [blame]
Brian Gaeke26682912004-07-01 20:07:15 +00001=pod
2
3=head1 NAME
4
5llvm-abcd - bytecode file low-level dumper
6
7=head1 SYNOPSIS
8
9llvm-abcd [options] [filename]
10
11=head1 DESCRIPTION
12
13The B<llvm-abcd> command is a small utility for analyzing bytecode files. The
14B<abcd> acronym stands for B<a>nalysis of B<b>yteB<c>ode B<d>isplayer. The tool
15reads a bytecode file (such as generated with the B<llvm-as> tool) and produces
16statistical and low level bytecode format dumps. This tool is probably not of
17much interest or utility except for those working directly with the bytecode
18format. Most LLVM users can just ignore this tool.
19
20If filename is omitted or is I<->, then B<llvm-abcd> reads its input from
21standard input. This is useful for combining B<llvm-abcd> in a pipeline.
22
23=head1 OPTIONS
24
25=over
26
27=item B<--nodetails>
28
29Causes B<llvm-abcd> to abbreviate its output by writing out only a module level
30summary. The details for individual functions are not displayed.
31
32=item B<--dump>
33
34Causes B<llvm-abcd> to dump the bytecode in a human readable format. This format
35is significantly different from LLVM assembly and provides details about the
36encoding of the bytecode file.
37
38=item B<--verify>
39
40Causes B<llvm-abcd> to verify the module produced by by reading the bytecode.
41This ensures that the statistics generated are reliable.
42
43=item B<--help>
44
45Print a summary of command line options.
46
47=back
48
49=head1 EXIT STATUS
50
51If B<llvm-abcd> succeeds, it will exit with zero exit status. Otherwise, if an
52error occurs, it will exit with a non-zero exit status, usually 1.
53
54=head1 SEE ALSO
55
56L<llvm-dis>, L<LLVM Bytecode File Format|../docs/BytecodeFormat.html>
57
58=head1 AUTHOR
59
60Maintained by L<rspencer@x10sys.com|Reid Spencer>.
61
62=cut
63