aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck
diff options
context:
space:
mode:
authorDaniel Kiss <daniel.kiss@arm.com>2020-10-30 17:42:23 +0100
committerDaniel Kiss <daniel.kiss@arm.com>2020-10-30 17:45:20 +0100
commit1d7786d45f48b4793baf4e4b903c4476f56ffc94 (patch)
tree56050a12b1d96189de9947227227004948941a27 /llvm/utils/FileCheck
parent251dd7c0f999c02304254236bbc48b5f1bb5b2b5 (diff)
downloadllvm-1d7786d45f48b4793baf4e4b903c4476f56ffc94.zip
llvm-1d7786d45f48b4793baf4e4b903c4476f56ffc94.tar.gz
llvm-1d7786d45f48b4793baf4e4b903c4476f56ffc94.tar.bz2
[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
Diffstat (limited to 'llvm/utils/FileCheck')
0 files changed, 0 insertions, 0 deletions