X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FCommandGuide%2Fllvm-extract.pod;h=d916612ec5c65d7c56b2464c34974baf49848d3f;hb=0011dc4738fbe624d44197ef9496517fd093eaa4;hp=3232d8ef21d2e78d77790c6f567b8e0051074a89;hpb=c08937aee7587fecafead121662d36a5ff0af864;p=oota-llvm.git diff --git a/docs/CommandGuide/llvm-extract.pod b/docs/CommandGuide/llvm-extract.pod index 3232d8ef21d..d916612ec5c 100644 --- a/docs/CommandGuide/llvm-extract.pod +++ b/docs/CommandGuide/llvm-extract.pod @@ -2,23 +2,23 @@ =head1 NAME -extract - extract a function from an LLVM module +llvm-extract - extract a function from an LLVM module =head1 SYNOPSIS -B [I] B<--func> I [I] +B [I] B<--func> I [I] =head1 DESCRIPTION -The B command takes the name of a function and extracts it from -the specified LLVM bytecode file. It is primarily used as a debugging tool to +The B command takes the name of a function and extracts it from +the specified LLVM bitcode file. It is primarily used as a debugging tool to reduce test cases from larger programs that are triggering a bug. -In addition to extracting the bytecode of the specified function, -B will also remove unreachable global variables, prototypes, and +In addition to extracting the bitcode of the specified function, +B will also remove unreachable global variables, prototypes, and unused types. -The B command reads its input from standard input if filename is +The B command reads its input from standard input if filename is omitted or if filename is -. The output is always written to standard output, unless the B<-o> option is specified (see below). @@ -28,13 +28,13 @@ unless the B<-o> option is specified (see below). =item B<-f> -Force overwrite. Normally, B will refuse to overwrite an -output file that already exists. With this option, B -will overwrite the output file and replace it with new bytecode. +Force overwrite. Normally, B will refuse to overwrite an +output file that already exists. With this option, B +will overwrite the output file and replace it with new bitcode. =item B<--func> I -Extract the function named I from the LLVM bytecode. +Extract the function named I from the LLVM bitcode. =item B<--help> @@ -43,22 +43,13 @@ Print a summary of command line options. =item B<-o> I Specify the output filename. If filename is "-" (the default), then -B sends its output to standard output. - -=item B<--stats> - -Print statistics. - -=item B<--time-passes> - -Record the amount of time needed for each pass and print it to standard -error. +B sends its output to standard output. =back =head1 EXIT STATUS -If B succeeds, it will exit with 0. Otherwise, if an error +If B succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value. =head1 SEE ALSO @@ -67,6 +58,6 @@ L =head1 AUTHORS -Maintained by the LLVM Team (L). +Maintained by the LLVM Team (L). =cut