Label bytecode objects with their name
This introduces a new BCO instruction, BCO_NAME
, to aid in debugging bytecode execution. This instruction is injected by mkProtoBCO
and captures the Haskell name of the BCO. It is then printed by the disassembler, allowing ready correlation with STG dumps.
To do
-
Configure with flag
Edited by Ben Gamari