Platform description
This is used to describe platforms so that we can generate code for them.
Constructors
PlatformplatformArchOS :: !ArchOSArchitecture and OS
platformWordSize :: !PlatformWordSizeWord size
platformByteOrder :: !ByteOrderByte order (endianness)
platformUnregisterised :: !BoolplatformHasGnuNonexecStack :: !BoolplatformHasIdentDirective :: !BoolplatformHasSubsectionsViaSymbols :: !BoolplatformIsCrossCompiling :: !BoolplatformLeadingUnderscore :: !BoolSymbols need underscore prefix
platformTablesNextToCode :: !BoolDetermines whether we will be compiling info tables that reside just before the entry code, or with an indirection to the entry code. See TABLES_NEXT_TO_CODE in
rtsincludertsstorageInfoTables.h.platformHasLibm :: !BoolSome platforms require that we explicitly link against
libmif any math-y things are used (which we assume to include all programs). See #14022.platform_constants :: !Maybe PlatformConstantsConstants such as structure offsets, type sizes, etc.
Instances28Eq, Ord, Read, Show, OutputableP, …
Eq PlatformDefined in ghc-9.10.3 · GHC.PlatformOrd PlatformDefined in ghc-9.10.3 · GHC.PlatformRead PlatformDefined in ghc-9.10.3 · GHC.PlatformShow PlatformDefined in ghc-9.10.3 · GHC.PlatformOutputableP Platform CmmGraphDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CmmInfoTableDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CmmStaticDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CmmTopInfoDefined in ghc-9.10.3 · GHC.CmmOutputableP Platform CLabelDefined in ghc-9.10.3 · GHC.Cmm.CLabelOutputableP Platform InfoProvEntDefined in ghc-9.10.3 · GHC.Cmm.CLabelOutputableP Platform DebugBlockDefined in ghc-9.10.3 · GHC.Cmm.DebugBlockOutputableP Platform UnwindExprDefined in ghc-9.10.3 · GHC.Cmm.DebugBlockOutputableP Platform UnwindPointDefined in ghc-9.10.3 · GHC.Cmm.DebugBlockOutputableP Platform CmmExprDefined in ghc-9.10.3 · GHC.Cmm.ExprOutputableP Platform CmmLitDefined in ghc-9.10.3 · GHC.Cmm.ExprOutputableP Platform ForeignTargetDefined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform DwarfFrameBlockDefined in ghc-9.10.3 · GHC.CmmToAsm.Dwarf.TypesOutputableP Platform LiveInfoDefined in ghc-9.10.3 · GHC.CmmToAsm.Reg.LivenessOutputableP Platform CgLocDefined in ghc-9.10.3 · GHC.StgToCmm.ClosureOutputableP Platform CgIdInfoDefined in ghc-9.10.3 · GHC.StgToCmm.MonadOutputableP Platform (GenCmmStatics a)Defined in ghc-9.10.3 · GHC.CmmOutputableP Platform (CmmNode e x)Defined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode C C)Defined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode C O)Defined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode O C)Defined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode O O)Defined in ghc-9.10.3 · GHC.Cmm.NodeOutputableP Platform (Graph CmmNode e x)Defined in ghc-9.10.3 · GHC.Cmm.Node(OutputableP Platform d, OutputableP Platform info, OutputableP Platform i) => OutputableP Platform (GenCmmDecl d info i)Defined in ghc-9.10.3 · GHC.Cmm