| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHCi.ResolvedBCO
Synopsis
- data ResolvedBCO = ResolvedBCO {}
- data ResolvedBCOPtr
- isLittleEndian :: Bool
- data BCOByteArray (a :: k) = BCOByteArray {
- getBCOByteArray :: !ByteArray#
- mkBCOByteArray :: UArray Int a -> BCOByteArray a
Documentation
data ResolvedBCO Source #
A ResolvedBCO is one in which all the Name references have been
resolved to actual addresses or RemoteHValues.
Constructors
| ResolvedBCO | |
Fields | |
Instances
| Binary ResolvedBCO Source # | The Binary instance for ResolvedBCOs. Note, that we do encode the endianness, however there is no support for mixed endianness setups. This is primarily to ensure that ghc and iserv share the same endianness. | ||||
Defined in GHCi.ResolvedBCO | |||||
| Generic ResolvedBCO Source # | |||||
Defined in GHCi.ResolvedBCO Associated Types
| |||||
| Show ResolvedBCO Source # | |||||
Defined in GHCi.ResolvedBCO Methods showsPrec :: Int -> ResolvedBCO -> ShowS # show :: ResolvedBCO -> String # showList :: [ResolvedBCO] -> ShowS # | |||||
| type Rep ResolvedBCO Source # | |||||
Defined in GHCi.ResolvedBCO type Rep ResolvedBCO = D1 ('MetaData "ResolvedBCO" "GHCi.ResolvedBCO" "ghc-lib-parser-9.12.2.20250421-CqbZp8Pvp9yCWIXtLFiduU" 'False) (C1 ('MetaCons "ResolvedBCO" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resolvedBCOIsLE") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "resolvedBCOArity") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resolvedBCOInstrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BCOByteArray Word16)))) :*: (S1 ('MetaSel ('Just "resolvedBCOBitmap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BCOByteArray Word)) :*: (S1 ('MetaSel ('Just "resolvedBCOLits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BCOByteArray Word)) :*: S1 ('MetaSel ('Just "resolvedBCOPtrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SizedSeq ResolvedBCOPtr)))))) | |||||
data ResolvedBCOPtr Source #
Constructors
| ResolvedBCORef !Int | reference to the Nth BCO in the current set |
| ResolvedBCOPtr !(RemoteRef HValue) | reference to a previously created BCO |
| ResolvedBCOStaticPtr !(RemotePtr ()) | reference to a static ptr |
| ResolvedBCOPtrBCO ResolvedBCO | a nested BCO |
| ResolvedBCOPtrBreakArray !(RemoteRef BreakArray) | Resolves to the MutableArray# inside the BreakArray |
Instances
| Binary ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO | |||||
| Generic ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Associated Types
| |||||
| Show ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO Methods showsPrec :: Int -> ResolvedBCOPtr -> ShowS # show :: ResolvedBCOPtr -> String # showList :: [ResolvedBCOPtr] -> ShowS # | |||||
| type Rep ResolvedBCOPtr Source # | |||||
Defined in GHCi.ResolvedBCO type Rep ResolvedBCOPtr = D1 ('MetaData "ResolvedBCOPtr" "GHCi.ResolvedBCO" "ghc-lib-parser-9.12.2.20250421-CqbZp8Pvp9yCWIXtLFiduU" 'False) ((C1 ('MetaCons "ResolvedBCORef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int)) :+: C1 ('MetaCons "ResolvedBCOPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef HValue)))) :+: (C1 ('MetaCons "ResolvedBCOStaticPtr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemotePtr ()))) :+: (C1 ('MetaCons "ResolvedBCOPtrBCO" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResolvedBCO)) :+: C1 ('MetaCons "ResolvedBCOPtrBreakArray" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (RemoteRef BreakArray)))))) | |||||
data BCOByteArray (a :: k) Source #
Wrapper for a ByteArray#.
The phantom type tells what elements are stored in the ByteArray#.
Creating a ByteArray# can be achieved using UArray's API,
where the underlying ByteArray# can be unpacked.
Constructors
| BCOByteArray | |
Fields
| |
Instances
| (Binary a, Storable a, IArray UArray a) => Binary (BCOByteArray a) Source # | |
Defined in GHCi.ResolvedBCO | |
| Show (BCOByteArray Word16) Source # | |
Defined in GHCi.ResolvedBCO Methods showsPrec :: Int -> BCOByteArray Word16 -> ShowS # show :: BCOByteArray Word16 -> String # showList :: [BCOByteArray Word16] -> ShowS # | |
| Show (BCOByteArray Word) Source # | |
Defined in GHCi.ResolvedBCO | |
mkBCOByteArray :: UArray Int a -> BCOByteArray a Source #