Changes between Version 6 and Version 7 of Debugging/CompiledCode


Ignore:
Timestamp:
May 9, 2011 9:23:54 PM (4 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/CompiledCode

    v6 v7  
    146146
    147147Symbols in GHC are encoded using something called the Z-encoding (see
    148 [[GhcFile(compiler/utils/Encoding.hs)]].  Basically special symbols are replaced by sequences
     148[[GhcFile(compiler/utils/Encoding.hs)]]).  Basically special symbols are replaced by sequences
    149149beginning with {{{z}}} or {{{Z}}}.  eg. {{{state#}}} becomes
    150150{{{statezh}}}.  The letter {{{z}}} itself is replaced by {{{zz}}}.
     
    202202register {{{rbx}}}, which corresponds to the STG register {{{R1}}} on
    203203a recent x86_64 build.  Check
    204 [http://darcs.haskell.org/ghc/includes/stg/MachRegs.h MachRegs.h] to
     204[[GhcFile(includes/stg/MachRegs.h)]] to
    205205see which machine registers correspond to which STG registers on your
    206206platform.
     
    211211constructor), followed by any number of payload words (just one word
    212212containing the value 5, here).  Full details on closure layouts are in
    213 [http://darcs.haskell.org/ghc/includes/rts/storage/Closures.h Closures.h].
     213[[GhcFile(includes/rts/storage/Closures.h)]].
    214214
    215215It looks like the next word contains garbage, probably because it is