commit | 439528400e3a807d1696d70cf2e657612533830c | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed Mar 18 21:00:04 2020 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Thu Mar 19 10:56:58 2020 +0000 |
tree | 1d6f57411ca78e1145cb2189627e90ffa4b7fcbe | |
parent | be50bc3e7eed84842d5d2302444270dd0d635d00 [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 Change-Id: I6851c2ac874badec8b385eb0b3f21e8119178e22