[lld] 109d7fb - fix comment typo to cycle bots
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 9 13:42:13 PDT 2022
Author: Nico Weber
Date: 2022-07-09T22:41:58+02:00
New Revision: 109d7fb4e6e36f5927495cd2a2f23af6b85e80c9
URL: https://github.com/llvm/llvm-project/commit/109d7fb4e6e36f5927495cd2a2f23af6b85e80c9
DIFF: https://github.com/llvm/llvm-project/commit/109d7fb4e6e36f5927495cd2a2f23af6b85e80c9.diff
LOG: fix comment typo to cycle bots
Added:
Modified:
lld/ELF/Arch/RISCV.cpp
Removed:
################################################################################
diff --git a/lld/ELF/Arch/RISCV.cpp b/lld/ELF/Arch/RISCV.cpp
index 7031c65d37d1..7553a53fce60 100644
--- a/lld/ELF/Arch/RISCV.cpp
+++ b/lld/ELF/Arch/RISCV.cpp
@@ -743,7 +743,7 @@ void elf::riscvFinalizeRelax(int passes) {
}
memcpy(p, old.data() + offset, old.size() - offset);
- // Substract the previous relocDeltas value from the relocation offset.
+ // Subtract the previous relocDeltas value from the relocation offset.
// For a pair of R_RISCV_CALL/R_RISCV_RELAX with the same offset, decrease
// their r_offset by the same delta.
delta = 0;
More information about the llvm-commits
mailing list