Lines Matching +full:libunwind +full:- +full:build

4     libunwind.cpp
5 Unwind-EHABI.cpp
6 Unwind-seh.cpp
17 UnwindLevel1-gcc-ext.c
18 Unwind-sjlj.c
19 Unwind-wasm.c
23 # We need to set `-fexceptions` here so that key
27 # libunwind. See #56825 and #120657 for context.
28 COMPILE_FLAGS "-std=c99 -fexceptions")
49 Unwind-EHABI.h
51 ../include/libunwind.h
58 ../include/mach-o/compact_unwind_encoding.h
75 add_link_flags_if_supported(-nostdlib++)
95 add_compile_flags_if(LIBUNWIND_WEAK_PTHREAD_LIB -DLIBUNWIND_USE_WEAK_PTHREAD=1)
99 add_link_flags_if(CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG --unwindlib=none)
101 # MINGW_LIBRARIES is defined in config-ix.cmake
109 "support is disabled. Building libunwind DSO with runtime dependency "
117 add_compile_flags_if(LIBUNWIND_HAS_BSD_LIB -D_LIBUNWIND_USE_HAIKU_BSD_LIB=1)
119 add_compile_flags("-D_DEFAULT_SOURCE")
120 add_compile_flags("-DPT_GNU_EH_FRAME=PT_EH_FRAME")
149 # NOTE: avoid implicit dependencies on C++ runtimes. libunwind uses C++ for
155 # Build the shared library.
159 target_compile_options(unwind_shared_objects PRIVATE /GR-)
161 target_compile_options(unwind_shared_objects PRIVATE -fno-rtti)
163 target_link_libraries(unwind_shared_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES})
196 # Build the static library.
200 target_compile_options(unwind_static_objects PRIVATE /GR-)
202 target_compile_options(unwind_static_objects PRIVATE -fno-rtti)
204 target_link_libraries(unwind_static_objects PRIVATE unwind-headers ${LIBUNWIND_LIBRARIES})
216 target_add_compile_flags_if_supported(unwind_static_objects PRIVATE -fvisibility=hidden)
217 target_add_compile_flags_if_supported(unwind_static_objects PRIVATE -fvisibility-global-new-delete=force-hidden)
219 target_add_compile_flags_if_supported(unwind_static_objects PRIVATE -fvisibility-global-new-delete-hidden)
241 # Add a meta-target for both libraries.
252 add_custom_target(install-unwind
255 -DCMAKE_INSTALL_COMPONENT=unwind
256 -P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake")
257 add_custom_target(install-unwind-stripped
260 -DCMAKE_INSTALL_COMPONENT=unwind
261 -DCMAKE_INSTALL_DO_STRIP=1
262 -P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake")
264 add_dependencies(install-unwind install-unwind-headers)
265 add_dependencies(install-unwind-stripped install-unwind-headers-stripped)