Dale and Evan suggested putting the "check for setjmp" much earlier in the
[oota-llvm.git] / docs / CommandGuide / llvm-ld.pod
index d655737674ec3692189c90b768541e03c449b13e..536ab0fa43d5fe1f86ed87b701c688151401738e 100644 (file)
@@ -104,6 +104,12 @@ should be generated by the linker. By default, B<llvm-ld> generates a file named
 F<a.out> for compatibility with B<ld>. The output will be written to
 F<filename>.
 
+=item B<-b> F<filename>
+
+This option can be used to override the output bitcode file name. By default, 
+the name of the bitcode output file is one more ".bc" suffix added to the name 
+specified by B<-o filename> option.
+
 =item B<-l>F<name>
 
 This option specifies the F<name> of a library to search when resolving symbols
@@ -128,10 +134,6 @@ undefined symbols will be permitted.
 
 An alias for -link-as-library.
 
-=item B<-march=>C<target>
-
-Specifies the kind of machine for which code or assembly should be generated.
-
 =item B<-native>
 
 Generate a native machine code executable.
@@ -159,34 +161,6 @@ code generator.
 
 =over 
 
-=item B<-O0>
-
-An alias for the -O1 option.
-
-=item B<-O1>
-
-Optimize for linking speed, not execution speed. The optimizer will attempt to
-reduce the size of the linked program to reduce I/O but will not otherwise
-perform any link-time optimizations.
-
-=item B<-O2>
-
-Perform only the minimal or required set of scalar optimizations.
-
-=item B<-03>
-
-An alias for the -O2 option.
-
-=item B<-04>
-
-Perform the standard link time inter-procedural optimizations. This will 
-attempt to optimize the program taking the entire program into consideration.
-
-=item B<-O5>
-
-Perform aggressive link time optimizations. This is the same as -O4 but works
-more aggressively to optimize the program.
-
 =item B<-disable-inlining>
 
 Do not run the inlining pass. Functions will not be inlined into other
@@ -194,8 +168,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>
 
@@ -226,14 +199,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