X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGettingStarted.html;h=8bb1ac41e4fd443959a017d6f4532ce00b7676f2;hb=657baec0af38d84e24e4738b0696bb99d1517179;hp=89253b640181f9693e0081e9c42b83b109df28ed;hpb=780679baa7008e54cb94f383c5b13ee995e21fe3;p=oota-llvm.git diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index 89253b64018..8bb1ac41e4f 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -1193,10 +1193,16 @@ $ ./hello.bc

-This allows you to execute LLVM bitcode files directly. Thanks to Jack -Cummings for pointing this out! +This allows you to execute LLVM bitcode files directly. On Debian, you +can also use this command instead of the 'echo' command above:

+
+
+$ sudo update-binfmts --install llvm /path/to/lli --magic 'BC'
+
+
+ @@ -1363,7 +1369,7 @@ end to compile.

The tools directory contains the executables built out of the libraries above, which form the main part of the user interface. You can -always get help for a tool by typing tool_name --help. The +always get help for a tool by typing tool_name -help. The following is a brief introduction to the most important tools. More detailed information is in the Command Guide.

@@ -1434,7 +1440,7 @@ information is in the Command Guide.

opt
opt reads LLVM bitcode, applies a series of LLVM to LLVM transformations (which are specified on the command line), and then outputs - the resultant bitcode. The 'opt --help' command is a good way to + the resultant bitcode. The 'opt -help' command is a good way to get a list of the program transformations available in LLVM.
opt can also be used to run a specific analysis on an input LLVM bitcode file and print out the results. It is primarily useful for