[libunwind] [libunwind][cmake] Compile _Unwind* routines with -fexceptions (PR #121819)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 00:59:39 PST 2025


================
@@ -20,7 +20,7 @@ set(LIBUNWIND_C_SOURCES
     )
 set_source_files_properties(${LIBUNWIND_C_SOURCES}
                             PROPERTIES
-                              COMPILE_FLAGS "-std=c99")
+                              COMPILE_FLAGS "-std=c99 -fexceptions")
----------------
petrhosek wrote:

Can you also leave a comment here explaining why we need `-fexceptions`?

https://github.com/llvm/llvm-project/pull/121819


More information about the cfe-commits mailing list