ghc-lib-9.4.4.20221225: The GHC API, decoupled from GHC versions
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.