Skip to content

Commit a014bef

Browse files
authored
lli: add page (#7256)
1 parent 331cfea commit a014bef

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/common/lli.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# lli
2+
3+
> Directly execute programs from LLVM bitcode.
4+
> More information: <https://www.llvm.org/docs/CommandGuide/lli.html>.
5+
6+
- Execute a bitcode or IR file:
7+
8+
`lli {{path/to/file.ll}}`
9+
10+
- Execute with command line arguments:
11+
12+
`lli {{path/to/file.ll}} {{argument1 argument2 ...}}`
13+
14+
- Enable all optimizations:
15+
16+
`lli -O3 {{path/to/file.ll}}`
17+
18+
- Load a dynamic library before linking:
19+
20+
`lli --dlopen={{path/to/library.dll}} {{path/to/file.ll}}`

0 commit comments

Comments
 (0)