llvm-general: General purpose LLVM bindings
llvm-general is a set of Haskell bindings for LLVM http://llvm.org/. Unlike other current Haskell bindings, it uses an ADT to represent LLVM IR (http://llvm.org/docs/LangRef.html), and so offers two advantages: it handles almost all of the stateful complexities of using the LLVM API to build IR; and it supports moving IR not only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++ into Haskell.
Modules
- LLVM
- LLVM.General
- LLVM.General.Analysis
- LLVM.General.CodeGenOpt
- LLVM.General.CodeModel
- LLVM.General.CommandLine
- LLVM.General.Context
- LLVM.General.Diagnostic
- LLVM.General.ExecutionEngine
- LLVM.General.Module
- LLVM.General.PassManager
- LLVM.General.Relocation
- LLVM.General.Target
- LLVM.General.Target.LibraryFunction
- LLVM.General.Target.Options
- LLVM.General.Threading
- LLVM.General.Transforms
- LLVM.General
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
shared-llvm | link against llvm shared rather than static library | Disabled |
debug | compile C(++) shims with debug info for ease of troubleshooting | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- llvm-general-3.4.4.4.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates