[clang] [clang] fix `--unwindlib` option doc (PR #143497)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 10 02:23:07 PDT 2025


https://github.com/fee1-dead created https://github.com/llvm/llvm-project/pull/143497

the values it takes should be `libunwind` and not `unwindlib`.

>From 966f5da3d62a0b99c02c7f8eb8817a56757ff7c8 Mon Sep 17 00:00:00 2001
From: beef <ent3rm4n at gmail.com>
Date: Tue, 10 Jun 2025 17:22:41 +0800
Subject: [PATCH] [clang] fix `--unwindlib` option doc

the values it takes should be `libunwind` and not `unwindlib`.
---
 clang/include/clang/Driver/Options.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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=">,



More information about the cfe-commits mailing list