ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

Dwarf.Constants

Description

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

Synopsis

- dW_LANG_Haskell :: Word
- dW_TAG_compile_unit :: Word
- dW_TAG_subroutine_type :: Word
- dW_TAG_file_type :: Word
- dW_TAG_subprogram :: Word
- dW_TAG_lexical_block :: Word
- dW_TAG_base_type :: Word
- dW_TAG_structure_type :: Word
- dW_TAG_pointer_type :: Word
- dW_TAG_array_type :: Word
- dW_TAG_subrange_type :: Word
- dW_TAG_typedef :: Word
- dW_TAG_variable :: Word
- dW_TAG_arg_variable :: Word
- dW_TAG_auto_variable :: Word
- dW_AT_name :: Word
- dW_AT_stmt_list :: Word
- dW_AT_low_pc :: Word
- dW_AT_high_pc :: Word
- dW_AT_language :: Word
- dW_AT_comp_dir :: Word
- dW_AT_producer :: Word
- dW_AT_external :: Word
- dW_AT_frame_base :: Word
- dW_AT_use_UTF8 :: Word
- dW_AT_MIPS_linkage_name :: Word
- dW_CHILDREN_no :: Word8
- dW_CHILDREN_yes :: Word8
- dW_FORM_addr :: Word
- dW_FORM_data4 :: Word
- dW_FORM_string :: Word
- dW_FORM_flag :: Word
- dW_FORM_block1 :: Word
- dW_FORM_ref4 :: Word
- dW_ATE_address :: Word
- dW_ATE_boolean :: Word
- dW_ATE_float :: Word
- dW_ATE_signed :: Word
- dW_ATE_signed_char :: Word
- dW_ATE_unsigned :: Word
- dW_ATE_unsigned_char :: Word
- dW_CFA_set_loc :: Word8
- dW_CFA_undefined :: Word8
- dW_CFA_same_value :: Word8
- dW_CFA_def_cfa :: Word8
- dW_CFA_def_cfa_offset :: Word8
- dW_CFA_def_cfa_expression :: Word8
- dW_CFA_expression :: Word8
- dW_CFA_offset_extended_sf :: Word8
- dW_CFA_def_cfa_offset_sf :: Word8
- dW_CFA_def_cfa_sf :: Word8
- dW_CFA_val_offset :: Word8
- dW_CFA_val_expression :: Word8
- dW_CFA_offset :: Word8
- dW_OP_deref :: Word8
- dW_OP_consts :: Word8
- dW_OP_minus :: Word8
- dW_OP_mul :: Word8
- dW_OP_plus :: Word8
- dW_OP_lit0 :: Word8
- dW_OP_breg0 :: Word8
- dW_OP_call_frame_cfa :: Word8
- dwarfInfoSection :: SDoc
- dwarfAbbrevSection :: SDoc
- dwarfLineSection :: SDoc
- dwarfFrameSection :: SDoc
- dwarfGhcSection :: SDoc
- dwarfSection :: String -> SDoc
- dwarfInfoLabel :: LitString
- dwarfAbbrevLabel :: LitString
- dwarfLineLabel :: LitString
- dwarfFrameLabel :: LitString
- dwarfRegNo :: Platform -> Reg -> Word8
- dwarfReturnRegNo :: Platform -> Word8

# Documentation

dW_LANG_Haskell :: Word

Language ID used for Haskell.

dW_TAG_compile_unit :: Word

Dwarf tags

dW_TAG_subroutine_type :: Word

Dwarf tags

dW_TAG_file_type :: Word

Dwarf tags

dW_TAG_subprogram :: Word

Dwarf tags

dW_TAG_lexical_block :: Word

Dwarf tags

dW_TAG_base_type :: Word

Dwarf tags

dW_TAG_structure_type :: Word

Dwarf tags

dW_TAG_pointer_type :: Word

Dwarf tags

dW_TAG_array_type :: Word

Dwarf tags

dW_TAG_subrange_type :: Word

Dwarf tags

dW_TAG_typedef :: Word

Dwarf tags

dW_TAG_variable :: Word

Dwarf tags

dW_TAG_arg_variable :: Word

Dwarf tags

dW_TAG_auto_variable :: Word

Dwarf tags

dW_AT_name :: Word

Dwarf attributes

dW_AT_stmt_list :: Word

Dwarf attributes

dW_AT_low_pc :: Word

Dwarf attributes

dW_AT_high_pc :: Word

Dwarf attributes

dW_AT_language :: Word

Dwarf attributes

dW_AT_comp_dir :: Word

Dwarf attributes

dW_AT_producer :: Word

Dwarf attributes

dW_AT_external :: Word

Dwarf attributes

dW_AT_frame_base :: Word

Dwarf attributes

dW_AT_use_UTF8 :: Word

Dwarf attributes

dW_AT_MIPS_linkage_name :: Word

Dwarf attributes

dW_CHILDREN_no :: Word8

Abbrev declaration

dW_CHILDREN_yes :: Word8

Abbrev declaration

dW_FORM_addr :: Word

dW_FORM_data4 :: Word

dW_FORM_string :: Word

dW_FORM_flag :: Word

dW_FORM_block1 :: Word

dW_FORM_ref4 :: Word

dW_ATE_address :: Word

Dwarf native types

dW_ATE_boolean :: Word

Dwarf native types

dW_ATE_float :: Word

Dwarf native types

dW_ATE_signed :: Word

Dwarf native types

dW_ATE_signed_char :: Word

Dwarf native types

dW_ATE_unsigned :: Word

Dwarf native types

dW_ATE_unsigned_char :: Word

Dwarf native types

dW_CFA_set_loc :: Word8

Call frame information

dW_CFA_undefined :: Word8

Call frame information

dW_CFA_same_value :: Word8

Call frame information

dW_CFA_def_cfa :: Word8

Call frame information

dW_CFA_def_cfa_offset :: Word8

Call frame information

dW_CFA_def_cfa_expression :: Word8

Call frame information

dW_CFA_expression :: Word8

Call frame information

dW_CFA_offset_extended_sf :: Word8

Call frame information

dW_CFA_def_cfa_offset_sf :: Word8

Call frame information

dW_CFA_def_cfa_sf :: Word8

Call frame information

dW_CFA_val_offset :: Word8

Call frame information

dW_CFA_val_expression :: Word8

Call frame information

dW_CFA_offset :: Word8

Call frame information

dW_OP_deref :: Word8

Operations

dW_OP_consts :: Word8

Operations

dW_OP_minus :: Word8

Operations

dW_OP_mul :: Word8

Operations

dW_OP_plus :: Word8

Operations

dW_OP_lit0 :: Word8

Operations

dW_OP_breg0 :: Word8

Operations

dW_OP_call_frame_cfa :: Word8

Operations

dwarfInfoSection :: SDoc

Dwarf section declarations

dwarfAbbrevSection :: SDoc

Dwarf section declarations

dwarfLineSection :: SDoc

Dwarf section declarations

dwarfFrameSection :: SDoc

Dwarf section declarations

dwarfGhcSection :: SDoc

Dwarf section declarations

dwarfSection :: String -> SDoc

dwarfInfoLabel :: LitString

Dwarf section labels

dwarfAbbrevLabel :: LitString

Dwarf section labels

dwarfLineLabel :: LitString

Dwarf section labels

dwarfFrameLabel :: LitString

Dwarf section labels

dwarfRegNo :: Platform -> Reg -> Word8

Mapping of registers to DWARF register numbers

dwarfReturnRegNo :: Platform -> Word8

Virtual register number to use for return address.