ghc-9.4.2: 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

pprString :: ByteString -> SDoc Source #

Emit a ".string" directive

pprFileEmbed :: FilePath -> SDoc Source #

Emit a ".incbin" directive

A NULL byte is added after the binary data.