summaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-01 20:07:15 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-01 20:07:15 +0000
commit26682910c65bdcbe8341e1b9b97feb3576277c97 (patch)
treecc1d3211b04102765d23f996a38b2e840f9451a3 /docs/CommandGuide
parentf18c06a3c641bcce57b5895d8b6d07a1291ae0ad (diff)
downloadllvm-26682910c65bdcbe8341e1b9b97feb3576277c97.tar.gz
llvm-26682910c65bdcbe8341e1b9b97feb3576277c97.tar.bz2
llvm-26682910c65bdcbe8341e1b9b97feb3576277c97.tar.xz
abcd pod document
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/llvm-abcd.pod63
1 files changed, 63 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-abcd.pod b/docs/CommandGuide/llvm-abcd.pod
new file mode 100644
index 0000000000..c3d9a90933
--- /dev/null
+++ b/docs/CommandGuide/llvm-abcd.pod
@@ -0,0 +1,63 @@
+=pod
+
+=head1 NAME
+
+llvm-abcd - bytecode file low-level dumper
+
+=head1 SYNOPSIS
+
+llvm-abcd [options] [filename]
+
+=head1 DESCRIPTION
+
+The B<llvm-abcd> command is a small utility for analyzing bytecode files. The
+B<abcd> acronym stands for B<a>nalysis of B<b>yteB<c>ode B<d>isplayer. The tool
+reads a bytecode file (such as generated with the B<llvm-as> tool) and produces
+statistical and low level bytecode format dumps. This tool is probably not of
+much interest or utility except for those working directly with the bytecode
+format. Most LLVM users can just ignore this tool.
+
+If filename is omitted or is I<->, then B<llvm-abcd> reads its input from
+standard input. This is useful for combining B<llvm-abcd> in a pipeline.
+
+=head1 OPTIONS
+
+=over
+
+=item B<--nodetails>
+
+Causes B<llvm-abcd> to abbreviate its output by writing out only a module level
+summary. The details for individual functions are not displayed.
+
+=item B<--dump>
+
+Causes B<llvm-abcd> to dump the bytecode in a human readable format. This format
+is significantly different from LLVM assembly and provides details about the
+encoding of the bytecode file.
+
+=item B<--verify>
+
+Causes B<llvm-abcd> to verify the module produced by by reading the bytecode.
+This ensures that the statistics generated are reliable.
+
+=item B<--help>
+
+Print a summary of command line options.
+
+=back
+
+=head1 EXIT STATUS
+
+If B<llvm-abcd> succeeds, it will exit with zero exit status. Otherwise, if an
+error occurs, it will exit with a non-zero exit status, usually 1.
+
+=head1 SEE ALSO
+
+L<llvm-dis>, L<LLVM Bytecode File Format|../docs/BytecodeFormat.html>
+
+=head1 AUTHOR
+
+Maintained by L<rspencer@x10sys.com|Reid Spencer>.
+
+=cut
+