Enum llvm_mapper::record::DataLayoutParseError [−][src]
pub enum DataLayoutParseError {
BadAlign(AlignError),
BadAddressSpace(AddressSpaceError),
UnknownSpec(char),
EmptySpec,
BadEncoding,
BadInt(ParseIntError),
BadSpecParse(String),
BadAlignSpec(AlignSpecError),
}
Expand description
Potential errors when parsing an LLVM datalayout string.
Variants
BadAlign(AlignError)
The specified alignment is invalid.
Tuple Fields of BadAlign
0: AlignError
BadAddressSpace(AddressSpaceError)
The specified address space is invalid.
Tuple Fields of BadAddressSpace
UnknownSpec(char)
An unknown specification was encountered.
Tuple Fields of UnknownSpec
0: char
An empty specification was encountered.
The datalayout string isn’t in ASCII.
BadInt(ParseIntError)
We couldn’t parse a field as an integer.
Tuple Fields of BadInt
BadSpecParse(String)
We couldn’t parse an individual spec, for some reason.
Tuple Fields of BadSpecParse
0: String
BadAlignSpec(AlignSpecError)
We couldn’t parse an alignment spec.
Tuple Fields of BadAlignSpec
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.