forked from OSchip/llvm-project
1d7786d45f
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 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include | ||
src | ||
test | ||
.clang-format | ||
CMakeLists.txt | ||
LICENSE.TXT |