The llvm-general package

[Tags:bsd3, library, test]

llvm-general is a set of Haskell bindings for LLVM Unlike other current Haskell bindings, it uses an ADT to represent LLVM IR (, 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.

For haddock, see


Versions 0.1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies array (>=, base (>= && <5), bytestring (>=, containers (>=, llvm-general-pure (==, mtl (>=, parsec (>=3.1.3), setenv (>=0.1.0), template-haskell (>=, transformers (>=, utf8-string (>=0.3.7) [details]
License BSD3
Copyright Benjamin S. Scarlet 2013
Author Benjamin S.Scarlet <>
Maintainer Benjamin S. Scarlet <>
Category Compilers/Interpreters, Code Generation
Source repository head: git clone git://
this: git clone git:// -b llvm-3.3(tag v3.3.11.2)
Uploaded Thu Mar 20 03:53:33 UTC 2014 by BenjaminScarlet
Distributions NixOS:
Downloads 28972 total (44 in the last 30 days)
1 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-18 [all 7 reports]


  • 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.Transforms


shared-llvmlink against llvm shared rather than static libraryDisabledAutomatic
debugcompile C(++) shims with debug info for ease of troubleshootingDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees