[libcxx-commits] [PATCH] D91182: [libunwind] LIBUNWIND_REMEMBER_HEAP_ALLOC to cmake.
Daniel Kiss via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 11 02:21:33 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe7b8d3776f36: [libunwind] LIBUNWIND_REMEMBER_HEAP_ALLOC to cmake. (authored by danielkiss).
Herald added projects: LLVM, libunwind.
Herald added subscribers: libcxx-commits, llvm-commits.
Herald added a reviewer: libunwind.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91182/new/
https://reviews.llvm.org/D91182
Files:
libunwind/CMakeLists.txt
Index: libunwind/CMakeLists.txt
===================================================================
--- libunwind/CMakeLists.txt
+++ libunwind/CMakeLists.txt
@@ -69,6 +69,7 @@
option(LIBUNWIND_INCLUDE_DOCS "Build the libunwind documentation." ${LLVM_INCLUDE_DOCS})
option(LIBUNWIND_IS_BAREMETAL "Build libunwind for baremetal targets." OFF)
option(LIBUNWIND_USE_FRAME_HEADER_CACHE "Cache frame headers for unwinding. Requires locking dl_iterate_phdr." OFF)
+option(LIBUNWIND_REMEMBER_HEAP_ALLOC "Use heap instead of the stack for .cfi_remember_state." OFF)
set(LIBUNWIND_LIBDIR_SUFFIX "${LLVM_LIBDIR_SUFFIX}" CACHE STRING
"Define suffix of library directory name (32/64)")
@@ -312,6 +313,10 @@
add_compile_definitions(_LIBUNWIND_USE_FRAME_HEADER_CACHE)
endif()
+if(LIBUNWIND_REMEMBER_HEAP_ALLOC)
+ add_compile_definitions(_LIBUNWIND_REMEMBER_HEAP_ALLOC)
+endif()
+
# This is the _ONLY_ place where add_definitions is called.
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91182.304438.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201111/51021cf1/attachment.bin>
More information about the libcxx-commits
mailing list