Lines Matching full:libunwind
6 set(LLVM_SUBPROJECT_TITLE "libunwind")
28 message(FATAL_ERROR "Libunwind doesn't build for MSVC targets, and that is almost certainly not what you want to do "
29 "anyway since libunwind is tied to the Itanium C++ ABI, and MSVC targets must use the MS C++ ABI.")
39 option(LIBUNWIND_ENABLE_CET "Build libunwind with CET enabled." OFF)
40 option(LIBUNWIND_ENABLE_GCS "Build libunwind with GCS enabled." OFF)
44 option(LIBUNWIND_ENABLE_SHARED "Build libunwind as a shared library." ON)
45 option(LIBUNWIND_ENABLE_STATIC "Build libunwind as a static library." ON)
48 option(LIBUNWIND_ENABLE_THREADS "Build libunwind with threading support." ON)
51 option(LIBUNWIND_INCLUDE_DOCS "Build the libunwind documentation." ${LLVM_INCLUDE_DOCS})
52 option(LIBUNWIND_INCLUDE_TESTS "Build the libunwind tests." ${LLVM_INCLUDE_TESTS})
53 option(LIBUNWIND_IS_BAREMETAL "Build libunwind for baremetal targets." OFF)
56 option(LIBUNWIND_INSTALL_HEADERS "Install the libunwind headers." ON)
61 option(LIBUNWIND_INSTALL_LIBRARY "Install the libunwind library." ON)
63 "Install the static libunwind library." ON
66 "Install the shared libunwind library." ON
70 "Version of libunwind. This will be reflected in the name of the shared library produced.
72 libunwind.x.y.dylib, along with the usual symlinks pointing to that. On Apple platforms,
77 set(LIBUNWIND_DEFAULT_TEST_CONFIG "llvm-libunwind-shared-mingw.cfg.in")
79 set(LIBUNWIND_DEFAULT_TEST_CONFIG "llvm-libunwind-static-mingw.cfg.in")
82 set(LIBUNWIND_DEFAULT_TEST_CONFIG "llvm-libunwind-shared.cfg.in")
84 set(LIBUNWIND_DEFAULT_TEST_CONFIG "llvm-libunwind-static.cfg.in")
88 If a relative path is provided, it is assumed to be relative to '<monorepo>/libunwind/test/configs'.")
92 message(STATUS "Using libunwind testing configuration: ${LIBUNWIND_TEST_CONFIG}")
97 message(FATAL_ERROR "libunwind must be built as either a shared or static library.")
101 message(FATAL_ERROR "libunwind CET support is not available for MSVC!")
136 "Path where built libunwind headers should be installed.")
138 "Path where built libunwind runtime libraries should be installed.")
140 set(LIBUNWIND_SHARED_OUTPUT_NAME "unwind" CACHE STRING "Output name for the shared libunwind runtime library.")
141 set(LIBUNWIND_STATIC_OUTPUT_NAME "unwind" CACHE STRING "Output name for the static libunwind runtime library.")
150 "Path where built libunwind libraries should be installed.")
159 "Path where built libunwind libraries should be installed.")
172 "Additional libraries libunwind is linked to which can be provided in cache")
174 # Include macros for adding and removing libunwind flags.
229 # The reason why this was added is that when building libunwind for
235 # to __aeabi_unwind_cpp_pr0, which is defined in libunwind itself,
238 # This leads to libunwind not being built with this flag, which makes
239 # libunwind quite useless in this setup.