hanchenye-llvm-project/libunwind
Daniel Kiss 1d7786d45f [libunwind] Support DW_CFA_remember/restore_state without heap allocation.
This patch just reorganises the code to make possible to use alloca
instead of malloc. This makes possible to use `.cfi_remember_state`/`.cfi_restore_state` on
platforms without heap allocation.
Also it will be safe to backtrace/unwind faults related to the allocator behind malloc.
`_LIBUNWIND_REMEMBER_HEAP_ALLOC ` option reenables the heap usage for `.cfi_remember_state`/`.cfi_restore_state`.
Define _LIBUNWIND_REMEMBER_STACK_ALLOC to force stack allocation.

Reviewed By: #libunwind, mstorsjo

Differential Revision: https://reviews.llvm.org/D85005
2020-10-30 17:45:20 +01:00
..
cmake
docs
include [libunwind] Ensure enough alignment for unw_cursor_t for SEH build configurations 2020-08-22 22:48:57 +03:00
src [libunwind] Support DW_CFA_remember/restore_state without heap allocation. 2020-10-30 17:45:20 +01:00
test [libunwind] Fix linker flag handling in the tests. 2020-10-29 14:02:44 +01:00
.clang-format
CMakeLists.txt [libunwind] Add -Wno-dll-attribute-on-redeclaration when building for windows 2020-10-26 23:23:01 +02:00
LICENSE.TXT