[llvm] [BOLT] Fix typo from alterantive to alternative (PR #99704)
Jordan Brantner via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 20 10:25:04 PDT 2024
https://github.com/brantnej updated https://github.com/llvm/llvm-project/pull/99704
>From a96ade95846d8cb59331db103a2841341f114ad6 Mon Sep 17 00:00:00 2001
From: Jordan Brantner <brantnej at oregonstate.edu>
Date: Fri, 19 Jul 2024 13:49:09 -0700
Subject: [PATCH] fix typo from alterantive to alternative
Signed-off-by: Jordan Brantner <brantnej at oregonstate.edu>
---
bolt/docs/CommandLineArgumentReference.md | 2 +-
bolt/lib/Core/BinaryContext.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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));
More information about the llvm-commits
mailing list