More fixes for power instrumentation
authorXiaozhu Meng <xmeng@cs.wisc.edu>
Wed, 5 Sep 2018 13:24:37 +0000 (08:24 -0500)
committerXiaozhu Meng <xmeng@cs.wisc.edu>
Wed, 5 Sep 2018 13:24:37 +0000 (08:24 -0500)
commit1730b7cd5f4a49bdc55b182e683cc5d72f5643e7
treecf597e957432e3f45b741c79e7a8359861c0a653
parent1ad3c5ead1974ac84618860a8a213eff13f4455d
More fixes for power instrumentation

1. Do not relocate the power preamble by skipping the first two instructions,
   instead of comparing addresses
2. RelocGraph indexes RelocBlock by block starting address rather than
   block_instance pointers
3. Function entry springboard is now using OffLimits springboard priority,
   as it should have a higher priority than block entry springboard.
dyninstAPI/src/Relocation/CFG/RelocBlock.C
dyninstAPI/src/Relocation/CFG/RelocGraph.C
dyninstAPI/src/Relocation/CFG/RelocGraph.h
dyninstAPI/src/Relocation/CodeMover.C
dyninstAPI/src/Relocation/Springboard.C
dyninstAPI/src/block.C
dyninstAPI/src/function.C