Safe Haskell | Safe |
---|---|
Language | Haskell98 |
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.
- data EncodeException = EncodeException !String
- data ParseFailureException = ParseFailureException !String
- data LinkException = LinkException !String
- data FdStreamException = FdStreamException !String
- data TargetMachineEmitException = TargetMachineEmitException !String
- data LookupTargetException = LookupTargetException !String
- data VerifyException = VerifyException !String
Documentation
data EncodeException Source #
Indicates an error during the translation of the AST provided by 'llvm-hs-pure' to LLVM’s internal representation.
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 LinkException Source #
Indicates an error during the linking of two modules.
data FdStreamException Source #
Indicates an error during the creation of a raw_fd_ostream. This could be caused by a nonexisting file path.
data TargetMachineEmitException Source #
Indicates an error during a call to targetMachineEmit
.
data LookupTargetException Source #
Indicates a failure to find the target.
data VerifyException Source #
Indicates an error during the verification of a module.