forked from snabbco/snabb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GCtrace: Make it possible to map between IR and mcode insns
Add a 'szirmcode' array to GCtrace that keeps track of how many bytes of machine code were assembled for each IR instruction. This allows us to construct an association between IR code and mcode, either to see the mcode that was assembled for a given IR instruction, or to map a machine code instruction back to the relevant IR instruction.
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters