Keep track of how jump targets have been met

This commit registers for each jump target how we met it, as a flag. It
also keeps track of which pointers in global data have been involved in
materialization performed by SET: those who are not are of special
interest for us, since they are likely function pointers, and are
therefore marked with a specific flag.
This commit is contained in:
Alessandro Di Federico
2016-08-24 23:00:14 +02:00
parent 4ae7cdadaa
commit 7859f9de78
3 changed files with 131 additions and 65 deletions
+2
View File
@@ -964,6 +964,8 @@ void CodeGenerator::translate(uint64_t VirtualAddress,
JumpTargets.translateIndirectJumps();
JumpTargets.finalizeJumpTargets();
purgeDeadBlocks(MainFunction);
Translator.finalizeNewPCMarkers(CoveragePath, EnableTracing);
Debug->generateDebugInfo();