[llvm-commits] CVS: llvm/docs/CommandGuide/llvm-ld.pod

Reid Spencer reid at x10sys.com
Tue Dec 20 21:13:18 PST 2005

Changes in directory llvm/docs/CommandGuide:

llvm-ld.pod updated: 1.2 -> 1.3
Log message:

Document the new -post-link-opts option.

Diffs of the changes:  (+15 -0)

 llvm-ld.pod |   15 +++++++++++++++
 1 files changed, 15 insertions(+)

Index: llvm/docs/CommandGuide/llvm-ld.pod
diff -u llvm/docs/CommandGuide/llvm-ld.pod:1.2 llvm/docs/CommandGuide/llvm-ld.pod:1.3
--- llvm/docs/CommandGuide/llvm-ld.pod:1.2	Sun Nov 28 21:43:29 2004
+++ llvm/docs/CommandGuide/llvm-ld.pod	Tue Dec 20 23:13:06 2005
@@ -136,6 +136,21 @@
 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.
+=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:
+cp $1 $2
 =head2 Miscellaneous Options

More information about the llvm-commits mailing list