Changes between Version 6 and Version 7 of Debugging/CompiledCode
- Timestamp:
- 05/09/11 14:23:54 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Debugging/CompiledCode
v6 v7 146 146 147 147 Symbols in GHC are encoded using something called the Z-encoding (see 148 [[GhcFile(compiler/utils/Encoding.hs)]] . Basically special symbols are replaced by sequences148 [[GhcFile(compiler/utils/Encoding.hs)]]). Basically special symbols are replaced by sequences 149 149 beginning with {{{z}}} or {{{Z}}}. eg. {{{state#}}} becomes 150 150 {{{statezh}}}. The letter {{{z}}} itself is replaced by {{{zz}}}. … … 202 202 register {{{rbx}}}, which corresponds to the STG register {{{R1}}} on 203 203 a recent x86_64 build. Check 204 [ http://darcs.haskell.org/ghc/includes/stg/MachRegs.h MachRegs.h] to204 [[GhcFile(includes/stg/MachRegs.h)]] to 205 205 see which machine registers correspond to which STG registers on your 206 206 platform. … … 211 211 constructor), followed by any number of payload words (just one word 212 212 containing 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)]]. 214 214 215 215 It looks like the next word contains garbage, probably because it is
