OSDN Git Service

Promote nameless lambda used by dl_iterate_phdr to named function to clean up control...
authorSterling Augustine <saugustine@google.com>
Mon, 2 Mar 2020 22:09:33 +0000 (14:09 -0800)
committerSterling Augustine <saugustine@google.com>
Tue, 3 Mar 2020 17:13:01 +0000 (09:13 -0800)
commitd93371238e7f5d5f9c506a88cf4f05f8dea9d008
tree5adc1812b52d3ed955f8a85581479f25f4347f60
parent55a56041d1da59dacb8f9abb1f3bfa841798e6cc
Promote nameless lambda used by dl_iterate_phdr to named function to clean up control flow inside findUnwindSections. Also, expose the data structure
to allow use by a future replacment function.

Summary: [Refactor] Promote nameless lambda to fully named function, allowing easy replacement in following patch.

Subscribers: krytarowski, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D75480
libunwind/src/AddressSpace.hpp