aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/CommandGuide/llvm-ld.pod11
1 files changed, 1 insertions, 10 deletions
diff --git a/docs/CommandGuide/llvm-ld.pod b/docs/CommandGuide/llvm-ld.pod
index 6d4e901..224939c 100644
--- a/docs/CommandGuide/llvm-ld.pod
+++ b/docs/CommandGuide/llvm-ld.pod
@@ -162,8 +162,7 @@ functions.
=item B<-disable-opt>
-Completely disable optimization. The various B<-On> options will be ignored and
-no link time optimization passes will be run.
+Completely disable optimization.
=item B<-disable-internalize>
@@ -194,14 +193,6 @@ An alias for B<-strip-debug>.
An alias for B<-disable-internalize>
-=item B<-load> F<module>
-
-Load an optimization module, F<module>, which is expected to be a dynamic
-library that provides the function name C<RunOptimizations>. This function will
-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
-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 bitcode file