summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/command/script/main.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2019-10-18 19:59:22 +0000
committerRyan Prichard <rprichard@google.com>2019-10-18 19:59:22 +0000
commit788acc6ff8ee3b2fc16a3f68179b0b445f6f4381 (patch)
tree86f7be835e5069505bb97b7ce3c918bed09b6222 /lldb/packages/Python/lldbsuite/test/commands/command/script/main.cpp
parent284b6d7f4da2260d996834fd1fabec461310bc96 (diff)
downloadbcm5719-llvm-788acc6ff8ee3b2fc16a3f68179b0b445f6f4381.tar.gz
bcm5719-llvm-788acc6ff8ee3b2fc16a3f68179b0b445f6f4381.zip
[libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic
Summary: Fix the arm_section_length count. The meaning of the arm_section_length field changed from num-of-elements to num-of-bytes when the dl_unwind_find_exidx special case was removed (D30306 and D30681). The special case was restored in D39468, but that patch didn't account for the change in arm_section_length's meaning. That patch worked when it was applied to the NDK's fork of libunwind, because it never removed the special case in the first place, and the special case is probably disabled in the Android platform's copy of libunwind, because __ANDROID_API__ is greater than 21. Turn the dl_unwind_find_exidx special case on unconditionally for Bionic. Bionic's dl_unwind_find_exidx is much faster than using dl_iterate_phdr. (e.g. Bionic stores exidx info on an internal soinfo object.) Reviewers: thomasanderson, srhines, danalbert, ed, keith.walker.arm, mclow.lists, compnerd Reviewed By: srhines, danalbert Subscribers: srhines, kristof.beyls, christof, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D68972 llvm-svn: 375275
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud