diff --git a/docs/CommandGuide/analyze.html b/docs/CommandGuide/analyze.html index e80f7f415e8..4a6bcc60bbe 100644 --- a/docs/CommandGuide/analyze.html +++ b/docs/CommandGuide/analyze.html @@ -51,16 +51,16 @@ language. Quiet mode. With this option, analysis pass names are not printed.
-
After being loaded, additional command line options are made available - for running the passes made available by plugin.so. Use - 'analyze -load <plugin.so> -help' to see the new + for running the passes made available by plugin. Use + 'analyze -load <plugin> -help' to see the new list of available analysis passes.
diff --git a/docs/CommandGuide/bugpoint.html b/docs/CommandGuide/bugpoint.html index b311120a808..729e822ab2f 100644 --- a/docs/CommandGuide/bugpoint.html +++ b/docs/CommandGuide/bugpoint.html @@ -158,8 +158,8 @@ non-obvious ways. Here are some hints and tips:
@@ -189,14 +189,14 @@ non-obvious ways. Here are some hints and tips:
test program, whenever it runs, to come from that file.
-
- bugpoint -load <plugin.so> -help
+ bugpoint -load <plugin> -help
+Note that the suffix of the shared library may differ from the example above if
+your system uses a different suffix by default.
+ Now that we have the build scripts set up, we just need to write the code for
the pass itself.
- Load the dynamic object <plugin.so> into bugpoint
+
+ Load the dynamic object <plugin> into bugpoint
itself. This object should register new
optimization passes. Once loaded, the object will add new command line
options to enable various optimizations. To see the new complete list
of optimizations, use the -help and -load options together:
Now that you have a brand new shiny .so file, we can use the +
Now that you have a brand new shiny shared object file, we can use the opt command to run an LLVM program through your pass. Because you registered your pass with the RegisterOpt template, you will be able to use the opt tool to access it, once loaded.