Document the new -post-link-opts option.

llvm-svn: 24895
This commit is contained in:
Reid Spencer 2005-12-21 05:13:06 +00:00
parent c6b578da26
commit b1f01ac2fb
1 changed files with 15 additions and 0 deletions

View File

@ -136,6 +136,21 @@ be passed the PassManager, and the optimization level (values 0-5 based on the
B<-On> option). This function may add passes to the PassManager that should be B<-On> option). This function may add passes to the PassManager that should be
run. This feature allows the optimization passes of B<llvm-ld> to be extended. run. This feature allows the optimization passes of B<llvm-ld> to be extended.
=item B<-post-link-opt>F<Path>
Run post-link optimization program. After linking is completed a bytecode file
will be generated. It will be passed to the program specified by F<Path> as the
first argument. The second argument to the program will be the name of a
temporary file into which the program should place its optimized output. For
example, the "no-op optimization" would be a simple shell script:
=over
#!/bin/bash
cp $1 $2
=back
=back =back
=head2 Miscellaneous Options =head2 Miscellaneous Options