diff options
author | David Srbecky <dsrbecky@google.com> | 2020-03-18 21:00:04 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2020-03-19 10:56:58 +0000 |
commit | 439528400e3a807d1696d70cf2e657612533830c (patch) | |
tree | 1d6f57411ca78e1145cb2189627e90ffa4b7fcbe /compiler/driver/compiler_options.h | |
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
Diffstat (limited to 'compiler/driver/compiler_options.h')
0 files changed, 0 insertions, 0 deletions