[lld] [lld][ELF] Fix typo in help text for plugin-opt=opt-remarks-with-hotness (NFC) (PR #114016)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 01:33:44 PDT 2024


https://github.com/Enna1 created https://github.com/llvm/llvm-project/pull/114016

None

>From c45209e8171f2de10c8458b35db0e750a66057d6 Mon Sep 17 00:00:00 2001
From: Enna1 <xumingjie.enna1 at bytedance.com>
Date: Tue, 29 Oct 2024 16:30:05 +0800
Subject: [PATCH] [lld][ELF] Fix typo in help text for
 plugin-opt=opt-remarks-with-hotness (NFC)

---
 lld/ELF/Options.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index c80c4017d3512c..ebe77204264210 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -720,7 +720,7 @@ def: J<"plugin-opt=opt-remarks-format=">,
   HelpText<"Alias for --opt-remarks-format">;
 def: F<"plugin-opt=opt-remarks-with-hotness">,
   Alias<opt_remarks_with_hotness>,
-  HelpText<"Alias for --opt-remarks-with_hotness">;
+  HelpText<"Alias for --opt-remarks-with-hotness">;
 def: J<"plugin-opt=opt-remarks-hotness-threshold=">,
   Alias<opt_remarks_hotness_threshold>,
   HelpText<"Alias for --opt-remarks-hotness-threshold">;



More information about the llvm-commits mailing list