From 998c0674be87dcc3f7da6399230daf11cf5ca79a Mon Sep 17 00:00:00 2001
From: Chris Lattner By:
- Guochun Shi,
- Chris Lattner,
John Criswell,
- Misha Brukman, and
- Vikram Adve.
+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! +
+ +