[llvm] [BOLT] Fix typo from alterantive to alternative (PR #99704)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 13:52:22 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Jordan Brantner (brantnej)

<details>
<summary>Changes</summary>

Fix typo from `alterantive` -> `alternative`

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


2 Files Affected:

- (modified) bolt/docs/CommandLineArgumentReference.md (+1-1) 
- (modified) bolt/lib/Core/BinaryContext.cpp (+1-1) 


``````````diff
diff --git a/bolt/docs/CommandLineArgumentReference.md b/bolt/docs/CommandLineArgumentReference.md
index bd6e2ec01b53e..d95f07f9ca8ea 100644
--- a/bolt/docs/CommandLineArgumentReference.md
+++ b/bolt/docs/CommandLineArgumentReference.md
@@ -88,7 +88,7 @@
 
 - `--comp-dir-override=<string>`
 
-  Overrides DW_AT_comp_dir, and provides an alterantive base location, which is
+  Overrides DW_AT_comp_dir, and provides an alternative base location, which is
   used with DW_AT_dwo_name to construct a path to *.dwo files.
 
 - `--create-debug-names-section`
diff --git a/bolt/lib/Core/BinaryContext.cpp b/bolt/lib/Core/BinaryContext.cpp
index 035f68e39751b..0bcb66fe322a5 100644
--- a/bolt/lib/Core/BinaryContext.cpp
+++ b/bolt/lib/Core/BinaryContext.cpp
@@ -71,7 +71,7 @@ PrintMemData("print-mem-data",
 
 cl::opt<std::string> CompDirOverride(
     "comp-dir-override",
-    cl::desc("overrides DW_AT_comp_dir, and provides an alterantive base "
+    cl::desc("overrides DW_AT_comp_dir, and provides an alternative base "
              "location, which is used with DW_AT_dwo_name to construct a path "
              "to *.dwo files."),
     cl::Hidden, cl::init(""), cl::cat(BoltCategory));

``````````

</details>


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


More information about the llvm-commits mailing list