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

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 06:20:01 PST 2025


alexrp wrote:

https://github.com/llvm/llvm-project/blob/59bdea24b09bca9332a7092b583ebf377efb0d50/libunwind/CMakeLists.txt#L249-L252

I wonder if it would be less bug-prone in the long term to just build the whole library with `-fexceptions` instead of trying to apply `-fexceptions` to *just* the right files at this point in time. Feels like a brittle optimization for not much gain?

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


More information about the cfe-commits mailing list