summaryrefslogtreecommitdiff
path: root/libunwindstack/include/unwindstack/DwarfLocation.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-01-12 15:53:19 -0800
committerChristopher Ferris <cferris@google.com>2018-01-16 14:59:51 -0800
commit58fc1d54012d77c6812d5183ce882bdf3a9217c0 (patch)
treef28393f08cd3c1194e17e1406df8bbc1d6b13e8f /libunwindstack/include/unwindstack/DwarfLocation.h
parent395f42d36d37a81ce1c11918bfded0a2afaa6195 (diff)
downloadunwinding-58fc1d54012d77c6812d5183ce882bdf3a9217c0.tar.gz
Find first non-zero jit debug entry.
Sometimes a process will have multiple shared libraries loaded that have defined __jit_debug_descriptor. Specifically, art testing will load libart.so and libartd.so, which would have broken unwinding through jit'd code for art testing if libart.so winds up being found first. In order to avoid duplicating the code for the linker to figure out which one is live, change the algorithm to find the first non-zero first_entry_ set in __jit_debug_descriptor. Bug: 68396769 Test: Passes unit tests. Test: Verified this can unwind 137-cfi on arm/arm64. Change-Id: Ic4d403065d2c6f22476ef0171e7add17cd1464cd
Diffstat (limited to 'libunwindstack/include/unwindstack/DwarfLocation.h')
0 files changed, 0 insertions, 0 deletions