AsmUtils

ghc-8.10.3: 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 Source #

Arguments

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

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