lli - directly execute programs from LLVM bitcode
SYNOPSIS
:program:`lli` [options] [filename] [program args]
DESCRIPTION
:program:`lli` directly executes programs in LLVM bitcode format. It takes a program in LLVM bitcode format and executes it using a just-in-time compiler or an interpreter.
:program:`lli` is not an emulator. It will not execute IR of different architectures and it can only interpret (or JIT-compile) for the host architecture.
The JIT compiler takes the same arguments as other tools, like :program:`llc`, but they don't necessarily work for the interpreter.
If filename is not specified, then :program:`lli` reads the LLVM bitcode for the program from standard input.
The optional args specified on the command line are passed to the program as arguments.
GENERAL OPTIONS
TARGET OPTIONS
FLOATING POINT OPTIONS
CODE GENERATION OPTIONS
EXIT STATUS
If :program:`lli` fails to load the program, it will exit with an exit code of 1. Otherwise, it will return the exit code of the program it executes.