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 :: !BoolEnable Darwin .subsections_via_symbols directive
See Note [Subsections Via Symbols] in GHC.CmmToAsm.X86.Ppr
platformIsCrossCompiling :: !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.
Instances21Eq, Ord, Read, Show, OutputableP, …
Eq PlatformDefined in ghc-lib-parser-9.14.1.20251220 · GHC.PlatformOrd PlatformDefined in ghc-lib-parser-9.14.1.20251220 · GHC.PlatformRead PlatformDefined in ghc-lib-parser-9.14.1.20251220 · GHC.PlatformShow PlatformDefined in ghc-lib-parser-9.14.1.20251220 · GHC.PlatformOutputableP Platform CmmGraphDefined in ghc-lib-parser-9.14.1.20251220 · GHC.CmmOutputableP Platform CmmInfoTableDefined in ghc-lib-parser-9.14.1.20251220 · GHC.CmmOutputableP Platform CmmStaticDefined in ghc-lib-parser-9.14.1.20251220 · GHC.CmmOutputableP Platform CmmTopInfoDefined in ghc-lib-parser-9.14.1.20251220 · GHC.CmmOutputableP Platform CLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.CLabelOutputableP Platform InfoProvEntDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.CLabelOutputableP Platform CmmExprDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.ExprOutputableP Platform CmmLitDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.ExprOutputableP Platform ForeignTargetDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (GenCmmStatics a)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.CmmOutputableP Platform (CmmNode e x)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode C C)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode C O)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode O C)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (Block CmmNode O O)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.NodeOutputableP Platform (Graph CmmNode e x)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm.Node(OutputableP Platform d, OutputableP Platform info, OutputableP Platform i) => OutputableP Platform (GenCmmDecl d info i)Defined in ghc-lib-parser-9.14.1.20251220 · GHC.Cmm