From a014befa5aac83e1941619c0401217032a5b396d Mon Sep 17 00:00:00 2001 From: Benedek Szilvasy Date: Fri, 29 Oct 2021 04:34:48 +0200 Subject: [PATCH] lli: add page (#7256) --- pages/common/lli.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/lli.md 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}}`