summaryrefslogtreecommitdiff
path: root/libasyncio/AsyncIO.cpp
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
commited37aca9876de87b86f50126da1541ae2699e74f (patch)
treeb353718d19d99a2b521c1bc500b0338d1bbab77a /libasyncio/AsyncIO.cpp
parent85d0c3adaf2a6d63e99681718a5d79cf012644ca (diff)
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 'libasyncio/AsyncIO.cpp')
0 files changed, 0 insertions, 0 deletions