GHC.CmmToAsm.Ppr

ghc-9.2.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.CmmToAsm.Ppr

Synopsis

- doubleToBytes :: Double -> [Int]
- pprASCII :: ByteString -> SDoc
- pprString :: ByteString -> SDoc
- pprFileEmbed :: FilePath -> SDoc
- pprSectionHeader :: NCGConfig -> Section -> SDoc

# Documentation

doubleToBytes :: Double -> [Int] Source #

pprASCII :: ByteString -> SDoc Source #

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.

pprSectionHeader :: NCGConfig -> Section -> SDoc Source #