ghc-lib-9.6.2.20230523: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Utils.Asm

Description

Various utilities used in generating assembler.

These are used not only by the native code generator, but also by the GHC.Driver.Pipeline

Synopsis

Documentation

sectionType Source #

Arguments

:: IsLine doc 
=> Platform

Target platform

-> String

section type

-> doc

pretty assembler fragment

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