llvm-hs-7.0.1: General purpose LLVM bindings

Safe HaskellSafe
LanguageHaskell2010

LLVM.Exception

Description

This module lists all of the exceptions thrown by 'llvm-hs' itself. Note that other exceptions can potentially be thrown by the underlying libraries, e.g., for functions doing file IO.

Synopsis

Documentation

data ParseFailureException Source #

Indicates an error during the parsing of a module. This is used for errors encountered when parsing LLVM’s human readable assembly format and when parsing the binary bitcode format.

data TargetMachineEmitException Source #

Indicates an error during a call to targetMachineEmit.