diff options
author | David Srbecky <dsrbecky@google.com> | 2020-03-18 21:00:04 +0000 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-03-30 17:49:27 +0000 |
commit | 0201d451e4076d97f1ad33bf617c00d5e3f2fb22 (patch) | |
tree | 62a1d1bfd58b952a30b3b900923c9af158b0b515 /test/ProfileTestMultiDex | |
parent | 59056b13d9a45cd78aac95fbfa5a21ae8b73067c (diff) |
Consider thumb bit when repacking and compressing JIT mini-debug-info.
ARM uses least significant bit of function address to encode thumb mode.
This means the function address might not point to first byte of code.
Normalize the addresses by rounding them down to instruction size.
This fixes memory leak (debug info would not be freed) on 32-bit ARM.
Bug: 151137723
Test: ./art/test.py -r --target -t 137 --jit --32
Merged-In: I6851c2ac874badec8b385eb0b3f21e8119178e22
Change-Id: I6851c2ac874badec8b385eb0b3f21e8119178e22
(cherry picked from commit 439528400e3a807d1696d70cf2e657612533830c)
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions