diff --git a/pages/common/lli.md b/pages/common/lli.md new file mode 100644 index 000000000..3ed6870f6 --- /dev/null +++ b/pages/common/lli.md @@ -0,0 +1,20 @@ +# lli + +> Directly execute programs from LLVM bitcode. +> More information: . + +- Execute a bitcode or IR file: + +`lli {{path/to/file.ll}}` + +- Execute with command line arguments: + +`lli {{path/to/file.ll}} {{argument1 argument2 ...}}` + +- Enable all optimizations: + +`lli -O3 {{path/to/file.ll}}` + +- Load a dynamic library before linking: + +`lli --dlopen={{path/to/library.dll}} {{path/to/file.ll}}`