Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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
- data EncodeException = EncodeException !String
- data DecodeException = DecodeException !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.
Instances
Eq EncodeException Source # | |
Defined in LLVM.Exception (==) :: EncodeException -> EncodeException -> Bool # (/=) :: EncodeException -> EncodeException -> Bool # | |
Ord EncodeException Source # | |
Defined in LLVM.Exception compare :: EncodeException -> EncodeException -> Ordering # (<) :: EncodeException -> EncodeException -> Bool # (<=) :: EncodeException -> EncodeException -> Bool # (>) :: EncodeException -> EncodeException -> Bool # (>=) :: EncodeException -> EncodeException -> Bool # max :: EncodeException -> EncodeException -> EncodeException # min :: EncodeException -> EncodeException -> EncodeException # | |
Show EncodeException Source # | |
Defined in LLVM.Exception showsPrec :: Int -> EncodeException -> ShowS # show :: EncodeException -> String # showList :: [EncodeException] -> ShowS # | |
Exception EncodeException Source # | |
Defined in LLVM.Exception |
data DecodeException Source #
Indicates an error during the translation of LLVM’s internal representation to the AST provided 'llvm-hs-pure'.
Instances
Eq DecodeException Source # | |
Defined in LLVM.Exception (==) :: DecodeException -> DecodeException -> Bool # (/=) :: DecodeException -> DecodeException -> Bool # | |
Ord DecodeException Source # | |
Defined in LLVM.Exception compare :: DecodeException -> DecodeException -> Ordering # (<) :: DecodeException -> DecodeException -> Bool # (<=) :: DecodeException -> DecodeException -> Bool # (>) :: DecodeException -> DecodeException -> Bool # (>=) :: DecodeException -> DecodeException -> Bool # max :: DecodeException -> DecodeException -> DecodeException # min :: DecodeException -> DecodeException -> DecodeException # | |
Show DecodeException Source # | |
Defined in LLVM.Exception showsPrec :: Int -> DecodeException -> ShowS # show :: DecodeException -> String # showList :: [DecodeException] -> ShowS # | |
Exception DecodeException Source # | |
Defined in LLVM.Exception |
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.
Instances
data LinkException Source #
Indicates an error during the linking of two modules.
Instances
Eq LinkException Source # | |
Defined in LLVM.Exception (==) :: LinkException -> LinkException -> Bool # (/=) :: LinkException -> LinkException -> Bool # | |
Ord LinkException Source # | |
Defined in LLVM.Exception compare :: LinkException -> LinkException -> Ordering # (<) :: LinkException -> LinkException -> Bool # (<=) :: LinkException -> LinkException -> Bool # (>) :: LinkException -> LinkException -> Bool # (>=) :: LinkException -> LinkException -> Bool # max :: LinkException -> LinkException -> LinkException # min :: LinkException -> LinkException -> LinkException # | |
Show LinkException Source # | |
Defined in LLVM.Exception showsPrec :: Int -> LinkException -> ShowS # show :: LinkException -> String # showList :: [LinkException] -> ShowS # | |
Exception LinkException Source # | |
Defined in LLVM.Exception |
data FdStreamException Source #
Indicates an error during the creation of a raw_fd_ostream. This could be caused by a nonexisting file path.
Instances
Eq FdStreamException Source # | |
Defined in LLVM.Exception (==) :: FdStreamException -> FdStreamException -> Bool # (/=) :: FdStreamException -> FdStreamException -> Bool # | |
Ord FdStreamException Source # | |
Defined in LLVM.Exception compare :: FdStreamException -> FdStreamException -> Ordering # (<) :: FdStreamException -> FdStreamException -> Bool # (<=) :: FdStreamException -> FdStreamException -> Bool # (>) :: FdStreamException -> FdStreamException -> Bool # (>=) :: FdStreamException -> FdStreamException -> Bool # max :: FdStreamException -> FdStreamException -> FdStreamException # min :: FdStreamException -> FdStreamException -> FdStreamException # | |
Show FdStreamException Source # | |
Defined in LLVM.Exception showsPrec :: Int -> FdStreamException -> ShowS # show :: FdStreamException -> String # showList :: [FdStreamException] -> ShowS # | |
Exception FdStreamException Source # | |
Defined in LLVM.Exception |
data TargetMachineEmitException Source #
Indicates an error during a call to targetMachineEmit
.
Instances
data LookupTargetException Source #
Indicates a failure to find the target.
Instances
data VerifyException Source #
Indicates an error during the verification of a module.
Instances
Eq VerifyException Source # | |
Defined in LLVM.Exception (==) :: VerifyException -> VerifyException -> Bool # (/=) :: VerifyException -> VerifyException -> Bool # | |
Ord VerifyException Source # | |
Defined in LLVM.Exception compare :: VerifyException -> VerifyException -> Ordering # (<) :: VerifyException -> VerifyException -> Bool # (<=) :: VerifyException -> VerifyException -> Bool # (>) :: VerifyException -> VerifyException -> Bool # (>=) :: VerifyException -> VerifyException -> Bool # max :: VerifyException -> VerifyException -> VerifyException # min :: VerifyException -> VerifyException -> VerifyException # | |
Show VerifyException Source # | |
Defined in LLVM.Exception showsPrec :: Int -> VerifyException -> ShowS # show :: VerifyException -> String # showList :: [VerifyException] -> ShowS # | |
Exception VerifyException Source # | |
Defined in LLVM.Exception |