AsmUtils

ghc-8.4.4: The GHC API

Safe Haskell | None
Language | Haskell2010

AsmUtils

Description

Various utilities used in generating assembler.

These are used not only by the native code generator, but also by the DriverPipeline.

Synopsis

- sectionType :: String -> SDoc

# Documentation

sectionType #

Arguments

:: String | section type
-> SDoc | pretty assembler fragment

Generate a section type (e.g. `@progbits`). See #13937.