We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f952de commit 7160324Copy full SHA for 7160324
libunwind/src/CMakeLists.txt
@@ -20,6 +20,11 @@ set(LIBUNWIND_C_SOURCES
20
)
21
set_source_files_properties(${LIBUNWIND_C_SOURCES}
22
PROPERTIES
23
+ # We need to set `-fexceptions` here so that key
24
+ # unwinding functions, like
25
+ # _UNWIND_RaiseExcpetion, are not marked as
26
+ # `nounwind`, which breaks LTO builds of
27
+ # libunwind. See #56825 and #120657 for context.
28
COMPILE_FLAGS "-std=c99 -fexceptions")
29
30
set(LIBUNWIND_ASM_SOURCES
0 commit comments