diff options
author | Weiwei.Zhang <Weiwei.Zhang@mediatek.com> | 2020-09-28 14:43:51 +0800 |
---|---|---|
committer | Denis Hsu <denis.hsu@mediatek.com> | 2020-09-28 07:15:32 +0000 |
commit | 8d01fac30078a8d169790a1a0a298cf83071f34d (patch) | |
tree | 8b5fdb5a62d7bce5239fb286a4bbe16cd6cb1846 /tests/malloc_test.cpp | |
parent | 73ed0c4525121d5ba7c0326f348e780935e6f7cc (diff) |
alloc_debug: get load_bias error
malloc_debug can use libunwind and libunwindstck to unwind backtrace,
if libc.debug.malloc.options contains the string of "backtrace_full",
malloc_debug will use libunwindstck, and if libc.debug.malloc.options
contains the string of "backtrace=*", malloc_debug will use libunwind.
The result of libunwindstck is normal, but the result of libuniwnd
is abnormal, there is a offset between the rel_cp and the correct value,
so addr2line can't decode the right line number.
Libunwind and libunbiwndpack calculate load_bias is different, so malloc_debug
get load_bias alignment with libunwindstack.
Bug: 169539402
Change-Id: I640fb5db39af622a0bb52abf2c107984065a89d5
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions