summaryrefslogtreecommitdiff
path: root/code_coverage/empty_policy/code_coverage.arm.policy
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-10-03 13:35:48 -0700
committerChristopher Ferris <cferris@google.com>2019-10-08 17:36:06 +0000
commit899ede2d174adcadede5a20ef8e7cdf07736321c (patch)
tree85e5d2e80bb63bf0bdaef49823079b9323268572 /code_coverage/empty_policy/code_coverage.arm.policy
parentb3fbe52388a73fd5cbe86d4ea6ea52b21d2f85c8 (diff)
Handle when bias is different in elf headers.
The original code assumed that the load bias in the program headers would be exactly the same as in eh_frame/eh_frame_hdr/debug_frame. This isn't guaranteed, so add a section bias for use when creating a DwarfSection. In addtion, make the load bias and section bias a signed value. There is no reason that this value needs to be positive, so don't force it to be. Add a new offline test that has a different load bias in eh_frame than in the executable load. Add additional unit tests to verify the load bias values are set properly. Clean up the tests in ElfInterfaceTest, making all tests names follow the same convention. Bug: 141888859 Bug: 142094469 Test: New units and old unit tests pass on host and taimen. Change-Id: Ib878123ab5545f0f315c749cfe0d27b012d873ee
Diffstat (limited to 'code_coverage/empty_policy/code_coverage.arm.policy')
0 files changed, 0 insertions, 0 deletions