ghc-9.6.0.20230210: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.CmmToAsm.Ppr

Synopsis

Documentation

doubleToBytes :: Double -> [Word8] Source #

Get bytes of a Double representation

floatToBytes :: Float -> [Word8] Source #

Get bytes of a Float representation

pprASCII :: forall doc. IsLine doc => ByteString -> doc Source #

pprString :: IsLine doc => ByteString -> doc Source #

Emit a ".string" directive

pprFileEmbed :: IsLine doc => FilePath -> doc Source #

Emit a ".incbin" directive

A NULL byte is added after the binary data.