[libunwind] Update LIBUNWIND_ENABLE_WERROR default value in BuildingLibunwind.rst (PR #135546)

via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 13 06:37:54 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libunwind

Author: Firas Khalil Khana (firasuke)

<details>
<summary>Changes</summary>

Hey there,

It seems that `LIBUNWIND_ENABLE_WERROR` defaults to `OFF` according to [CMakeLists.txt](https://github.com/llvm/llvm-project/blob/main/libunwind/CMakeLists.txt#L43).

Thanks for your time!

---
Full diff: https://github.com/llvm/llvm-project/pull/135546.diff


1 Files Affected:

- (modified) libunwind/docs/BuildingLibunwind.rst (+1-1) 


``````````diff
diff --git a/libunwind/docs/BuildingLibunwind.rst b/libunwind/docs/BuildingLibunwind.rst
index 8b4f1207d4ba9..c231587fd5022 100644
--- a/libunwind/docs/BuildingLibunwind.rst
+++ b/libunwind/docs/BuildingLibunwind.rst
@@ -91,7 +91,7 @@ libunwind specific options
 
 .. option:: LIBUNWIND_ENABLE_WERROR:BOOL
 
-  **Default**: ``ON``
+  **Default**: ``OFF``
 
   Compile with -Werror
 

``````````

</details>


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


More information about the cfe-commits mailing list