[clang] [clang] fix `--unwindlib` option doc (PR #143497)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 02:23:57 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: beef (fee1-dead)
<details>
<summary>Changes</summary>
the values it takes should be `libunwind` and not `unwindlib`.
---
Full diff: https://github.com/llvm/llvm-project/pull/143497.diff
1 Files Affected:
- (modified) clang/include/clang/Driver/Options.td (+1-1)
``````````diff
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 89c63fb3397d3..a4f4770a1aa2a 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -6001,7 +6001,7 @@ def stdlibxx_isystem : JoinedOrSeparate<["-"], "stdlib++-isystem">,
Flags<[NoXarchOption]>, MetaVarName<"<directory>">;
def unwindlib_EQ : Joined<["-", "--"], "unwindlib=">,
Visibility<[ClangOption, CC1Option]>,
- HelpText<"Unwind library to use">, Values<"libgcc,unwindlib,platform">;
+ HelpText<"Unwind library to use">, Values<"libgcc,libunwind,platform">;
def sub__library : JoinedOrSeparate<["-"], "sub_library">;
def sub__umbrella : JoinedOrSeparate<["-"], "sub_umbrella">;
def system_header_prefix : Joined<["--"], "system-header-prefix=">,
``````````
</details>
https://github.com/llvm/llvm-project/pull/143497
More information about the cfe-commits
mailing list