The llvm-base-types package

[Tags:bsd3, library]

[Skip to Readme]


Versions 0.3.0
Dependencies base (==4.*), containers, deepseq, dwarf, failure, GenericPretty (>1), graphviz (>=2999.12.0.3), hashable (>=, pretty, regex-tdfa, text, transformers (>=0.3), unordered-containers, vector [details]
License BSD3
Author Tristan Ravitch
Category Data
Uploaded Tue Nov 12 02:47:02 UTC 2013 by TristanRavitch
Distributions NixOS:0.3.0
Downloads 418 total (6 in the last 30 days)
0 []
Status Docs available [build log]
Successful builds reported [all 4 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for llvm-base-types

Readme for llvm-base-types-0.3.0

This package defines types used in the llvm-analysis and llvm-data-interop packages.

This is a separate package mostly because llvm-data-interop needed to be split out due to C++ linkage issues. llvm-data-interop needs the definitions in this packages but cannot depend on llvm-analysis (which also needs these types).

Further, to avoid code duplication some of the C++ enumeration values used in llvm-data-interop are actually included with this package. The definitions in this package are used (via c2hs) to build Haskell equivalents. The base types need these definitions, but the llvm-data-interop package also needs to be able to find the header. This is handled in Setup.hs in llvm-data-interop with cooperation from this package (which exports the cabal-generated path to the installed header).

Only llvm-data-interop and llvm-analysis should ever need to reference this package since llvm-analysis re-exports all of the definitions.