The llvm-general package

[ Tags: bsd3, code-generation, compilers-interpreters, library ] [ Propose Tags ]

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 repo head: git clone git://
this: git clone git:// -b llvm-3.3(tag v3.3.12.1)
Uploaded Mon Jun 30 02:24:40 UTC 2014 by BenjaminScarlet
Distributions NixOS:
Downloads 41899 total (677 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-14 [all 7 reports]
Hackage Matrix CI


  • 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



link against llvm shared rather than static library


compile C(++) shims with debug info for ease of troubleshooting


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