Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- dataLayoutToString :: DataLayout -> ByteString
- parseDataLayout :: Endianness -> ByteString -> Except String (Maybe DataLayout)
Documentation
parseDataLayout :: Endianness -> ByteString -> Except String (Maybe DataLayout) Source #
Parse a DataLayout
, given a default Endianness should one not be specified in the
string to be parsed. LLVM itself uses BigEndian as the default: thus pass BigEndian to
be conformant or LittleEndian to be righteously defiant.