[llvm] d96f92f - fix typos in comments
Sylvestre Ledru via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 29 05:07:08 PST 2021
Author: Zhuo Zhang
Date: 2021-11-29T14:06:33+01:00
New Revision: d96f92ff16edab72cf78811673f02371f07a5a70
URL: https://github.com/llvm/llvm-project/commit/d96f92ff16edab72cf78811673f02371f07a5a70
DIFF: https://github.com/llvm/llvm-project/commit/d96f92ff16edab72cf78811673f02371f07a5a70.diff
LOG: fix typos in comments
Added:
Modified:
clang-tools-extra/clang-doc/ClangDoc.h
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-doc/ClangDoc.h b/clang-tools-extra/clang-doc/ClangDoc.h
index f3820d2c71d27..1f0c43d70db17 100644
--- a/clang-tools-extra/clang-doc/ClangDoc.h
+++ b/clang-tools-extra/clang-doc/ClangDoc.h
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
-// This file exposes a method to craete the FrontendActionFactory for the
+// This file exposes a method to create the FrontendActionFactory for the
// clang-doc tool. The factory runs the clang-doc mapper on a given set of
// source code files, storing the results key-value pairs in its
// ExecutionContext.
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 1b7fdb5882756..0de76ab78e0fd 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -1301,7 +1301,7 @@ RuntimeDyldELF::processRelocationRef(
MemMgr.allowStubAllocation()) {
resolveAArch64Branch(SectionID, Value, RelI, Stubs);
} else if (RelType == ELF::R_AARCH64_ADR_GOT_PAGE) {
- // Craete new GOT entry or find existing one. If GOT entry is
+ // Create new GOT entry or find existing one. If GOT entry is
// to be created, then we also emit ABS64 relocation for it.
uint64_t GOTOffset = findOrAllocGOTEntry(Value, ELF::R_AARCH64_ABS64);
resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend,
diff --git a/llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml b/llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml
index 9a71b3175efaa..8a534332a6525 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml
+++ b/llvm/test/tools/llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml
@@ -33,7 +33,7 @@ Sections:
- Name: .data3
# The last section not only overlaps segment boundary, but
# also has linear address which doesn't fit 20 bits. The
-# following records should be craeted:
+# following records should be created:
# 'SegmentAddr'(02) record with address 0x0
# 'ExtendedAddr'(04) record with address 0x100000
# 'Data'(00) record with 8 bytes of section data
More information about the llvm-commits
mailing list