From f02edd23079e572f820b6c2f26ef144a285f25b6 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 2 Dec 2006 16:36:48 +0000 Subject: [PATCH] Add llvm-upgrade documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32125 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandGuide/llvm-upgrade.pod | 66 ++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 docs/CommandGuide/llvm-upgrade.pod diff --git a/docs/CommandGuide/llvm-upgrade.pod b/docs/CommandGuide/llvm-upgrade.pod new file mode 100644 index 00000000000..4f0e1d881ae --- /dev/null +++ b/docs/CommandGuide/llvm-upgrade.pod @@ -0,0 +1,66 @@ +=pod + +=head1 NAME + +llvm-upgrade - LLVM assembly upgrader + +=head1 SYNOPSIS + +B [I] [I] + +=head1 DESCRIPTION + +B is the LLVM assembly upgrader. It reads a file containing +human-readable LLVM assembly language, and upgrades that assembly to the current +version of LLVM. If the input is in the form currently accepted by LLVM, then +no upgrades are performed. + +The expected usage of this tool is as a filter, like this: + +=over + +B + +=back + +If F is omitted or is C<->, then B reads its input from +standard input. + +If an output file is not specified with the B<-o> option, then +B sends its output to standard output. + +=head1 OPTIONS + +=over + +=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. + +=item B<--help> + +Print a summary of command line options. + +=item B<-o> F + +Specify the output file name. If F is C<->, then B +sends its output to standard output. + +=back + +=head1 EXIT STATUS + +If B succeeds, it will exit with 0. Otherwise, if an error +occurs, it will exit with a non-zero value. + +=head1 SEE ALSO + +L, L + +=head1 AUTHORS + +Maintained by the LLVM Team (L). + +=cut -- 2.34.1