ghc-9.14.0.20251128: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.CmmToAsm.Dwarf.Constants

Description

Constants describing the DWARF format. Most of this simply mirrors /usr/include/dwarf.h.

Synopsis

Documentation

dW_LANG_Haskell :: Word #

Language ID used for Haskell.

Dwarf tags

Dwarf attributes

Custom DWARF attributes

Describing C-- blocks

Describing source notes

Abbrev declarations

Dwarf native types

Call frame information

Operations

Dwarf section declarations

dwarfInfoSection :: IsDoc doc => Platform -> doc #

dwarfLineSection :: IsDoc doc => Platform -> doc #

dwarfGhcSection :: IsDoc doc => Platform -> doc #

dwarfSection :: IsDoc doc => Platform -> String -> doc #

Dwarf section labels

dwarfInfoLabel :: IsLine doc => doc #

dwarfAbbrevLabel :: IsLine doc => doc #

dwarfLineLabel :: IsLine doc => doc #

dwarfFrameLabel :: IsLine doc => doc #

dwarfRegNo :: Platform -> Reg -> Word8 #

Mapping of registers to DWARF register numbers

dwarfReturnRegNo :: Platform -> Word8 #

Virtual register number to use for return address.