[libunwind] Minor fixes in libunwind
authorRyan Prichard <rprichard@google.com>
Wed, 19 Aug 2020 08:54:17 +0000 (01:54 -0700)
committerRyan Prichard <rprichard@google.com>
Thu, 27 Aug 2020 01:22:03 +0000 (18:22 -0700)
commit7a457593efecc8f3e806cd3d022c480bc80d4fbb
treefdb3da8af6fe91b26507e44773bfafeb78dca8e3
parent5207545a86d2ebbc7d9d8d2b5bcc92fbc932c1da
[libunwind] Minor fixes in libunwind

 * When _LIBUNWIND_SUPPORT_COMPACT_UNWIND is defined in config.h,
   define it to "1" like the other macros. These macros are still
   checked using "#if defined(...)", however.

 * Include libunwind.h in AddressSpace.hpp before using
   _LIBUNWIND_ARM_EHABI.

 * Rename ProcessFrameHeaderCache to TheFrameHeaderCache, because some
   configurations (e.g. Android / hermetic static libraries) can have
   one cache per shared object in the process. (When there are more
   copies, it's more important not to waste memory in the cache.)

 * Add 3 missing header files to LIBUNWIND_HEADERS.

Differential Revision: https://reviews.llvm.org/D86254
libunwind/src/AddressSpace.hpp
libunwind/src/CMakeLists.txt
libunwind/src/config.h