diff --git a/llvm/docs/GettingStarted.html b/llvm/docs/GettingStarted.html index 2e04c9ea650c..6490c0cf280f 100644 --- a/llvm/docs/GettingStarted.html +++ b/llvm/docs/GettingStarted.html @@ -30,6 +30,7 @@
By: - Guochun Shi, - Chris Lattner, John Criswell, - Misha Brukman, and - Vikram Adve.
+ Chris Lattner, + Misha Brukman, + Vikram Adve, and + Guochun Shi. @@ -765,6 +766,35 @@ named after the build type: + + + ++If you're running on a linux system that supports the "binfmt_misc" +module, and you have root access on the system, you can set your system up to +execute LLVM bytecode files directly. To do this, use commands like this (the +first command may not be required if you are already using the module):
+ ++ $ mount -t binfmt_misc none /proc/sys/fs/binfmt_misc + $ echo ':llvm:M::llvm::/path/to/lli:' > /proc/sys/fs/binfmt_misc/register + $ chmod u+x hello.bc (if needed) + $ ./hello.bc ++ +
+This allows you to execute LLVM bytecode files directly. Thanks to Jack +Cummings for pointing this out! +
+ +