Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Example usage of LLVM's C bindings
branch: master
Failed to load latest commit information.
Makefile Initial import Initial import
fac.c Initial import

An example program showing off usage of LLVM's C bindings.

This is a github repo of @ynd's example usage of LLVM's C bindings. It has been cleaned up to compile with later versions of LLVM and includes a Makefile.

fac.c builds up a representation of a factorial function piece-by-piece, adds optimization passes to the function, then executes it with LLVM's JIT.

Something went wrong with that request. Please try again.